DEV Community

Discussion on: The React useState Hook

Collapse
 
jacobmgevans profile image
Jacob Evans

Take the "red pill" useState under the hood is essentially useReducer, if I have even two useStates, I start looking at how I can convert them to a useReducer. That's assuming I am not using XState already lol