Skip to content

Glossary: React Beyond the Basics

context

Also written: Context

A way for a parent to offer a value that any component inside it can read directly, without passing props. Kettle & Crane uses it to share the cart.

Where the book teaches it

Related terms

providercreateContextuseContextprop drilling