DEV Community

Discussion on: React/Redux: pitfalls and best practices

Collapse
 
alexandrudanpop profile image
Alexandru-Dan Pop

I would suggest useReducer hook is still useful even for a React/Redux app.

Sometimes you have state that doesn't need to be global - but that state can be very complex - so in that scenario I think useReducer is very helpful.

Ex: a complicated multi-step form - will have complex state - but I wouldn't put that in Redux.