DEV Community

Discussion on: I prefer Reducer hook over State hook, here's why

Collapse
 
calvinmills profile image
Calvin Mills

Couldn't agree more.

I use react-redux for larger applications which need complex state management but for smaller apps or when state is not required outside the context of the component, the reducer hook saves a ton of boilerplate.

Collapse
 
kojiadrianojr profile image
JARVUC

Thank's for reading

I could imagine the pain writing such boilerplate for simple task. Good thing there are alternatives we could use.