DEV Community

Discussion on: How to setup Redux with React (2020)

Collapse
 
alaminsheikh01 profile image
Alamin Sheikh

Thank you for your nice content, but i'm still confused from step 6, maybe we can use useSelector for more clear and more easy,

Collapse
 
bhatvikrant profile image
Vikrant Bhat

Yes absolutely! That is the way I would suggest in 2021. Use react-redux hooks as much as possible. The "connect" is a Higher Order Component (HOC) which is still available, but now days hooks and functional components are the way to go.
Thanks for your comment, I will update the blog with the use of hooks. 😁