Glossary: React Beyond the Basics
useReducer
A hook that takes a reducer and an initial state and returns the state and a dispatch function.
Glossary: React Beyond the Basics
A hook that takes a reducer and an initial state and returns the state and a dispatch function.