Skip to content

Glossary: React Beyond the Basics

useReducer

A hook that takes a reducer and an initial state and returns the state and a dispatch function.

Where the book teaches it

Related terms

reducerdispatchinitializer