DEV Community

Discussion on: You don't need useReducer

Collapse
 
orelkan profile image
Orel Kanditan • Edited

Nice, I like it.

I have yet to come across a situation where I need useReducer honestly. If it's a local state I'll use useState with a few state variables. If it's too complex then it probably needs a refactor to more components or belongs in redux