DEV Community

Discussion on: Using the useReducer Hook in React with TypeScript

Collapse
 
lexlohr profile image
Alex Lohr

Exactly. And the choice should depend on whether the transitions are more meaningful to explain the task than the state itself.