DEV Community

Discussion on: How to build a Fabulous Todo App using React, Redux and Framer-Motion

Collapse
 
codebucks profile image
CodeBucks

There is nothing you can do with mapStateToProps/mapDispatchToProps that you can't do with the useSelector and useDispatch hooks as well.
I really like answer from this one, You can check it here.
stackoverflow.com/questions/597481...

else there is also an explanation on useSelector in the documentation:
react-redux.js.org/api/hooks

Collapse
 
lucianodiisouza profile image
O Primo Dev

Nice, im happy in know this! I appreciate your attention!

Thread Thread
 
codebucks profile image
CodeBucks

anytime ^_^