DEV Community

Discussion on: 3 Reasons to useReducer() over useState()

Collapse
 
clarity89 profile image
Alex K.

For the first point you can still use State's hook functional form: setState(state => state + 1).