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.
Glossary: React Beyond the Basics
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.