prevState with useReducer hook in React.
prevState with useReducer hook in React.
Tags: react, usereducer, hooks, prevstate