Skip to content

Glossary: React Native

Provider

Also written: CartProvider

The component that gives a context its value; everything inside it can read that value. `CartProvider` wraps the Stack so every screen can use the cart.

Where the book teaches it

Related terms

ContextCustom hook