Skip to content

Glossary: React Native

Context

Also written: React context, createContext, useContext

A way for a component high in the tree to offer a value that any component below it can read directly, however deep. Kettle & Crane uses it to share the cart between all screens.

Where the book teaches it

Related terms

ProviderCustom hook