DEV Community

Discussion on: A better approach for testing your Redux code

Collapse
 
kstulgys profile image
kstulgys

Same here. Thanks a lot. I had such a big confusion trying to test react app with redux-toolkit. The main reason for the confusion was that I was trying to mix my slice testing with UI testing and I was getting weird errors with useDispatch and useSelector not being properly handled.