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.
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.