React: Context API - 401-advanced-javascript-jv/seattle-javascript-401d30 GitHub Wiki

The React Context API is a means for multiple components to share a single state, without using the cumbersome procedure of sending callback functions down the props chain, and expecting to manage the state from a single component.

The Context API allows you to set a context that creates a Context Provider wrapper, allowing all components inside that wrapper to access the state which is created and managed by that particular context.

Multiple contexts can be created and used. They can be nested within each other as long as none of the state properties within the contexts are named the same as any of the other state properties.