Skip to content

Glossary: React Beyond the Basics

createContext

The React function that creates a context, taking a type argument and a default value. The default is used only when no provider is above.

Where the book teaches it

Related terms

contextprovideruseContext