DEV Community

Discussion on: Should we ditch Redux for Context Hook?

Collapse
 
dance2die profile image
Sung M. Kim • Edited

No.

Redux has a nice middlware, with which you can provide async or other (such as logging) functionalities.

And also all components using the context re-renders if the context changes, while Redux causes re-render only for components that subscribed to the changed data.

Redux also has a wide range of community (as it's not just for React) and the documentation is excellent, not to mention a good tooling support.

Collapse
 
kojiadrianojr profile image
JARVUC

Context Hook and Reducer are good for developing apps that are not too small, and also not too complex. I love using Redux when the project is way too big.