Skip to content

Glossary: React Beyond the Basics

useContext

A hook that reads the value of the nearest provider of a context.

Where the book teaches it

Related terms

contextcreateContextprovider