There are no reviews yet. Be the first to send feedback to the community and the maintainers!
Repository Details
useReducer is a method from the React Hooks API, similar to useState but gives you more control to manage the state. It takes a reducer function and initial state as arguments and returns the state and dispatch method: const [state, dispatch] = React.