jargon

Frontend & browser·State, data and re-rendering

you put the value at the top of the tree so anything below could read it without being passed it.

Context provider

Also calledcontext, provider

A mechanism for making a value available to an entire subtree without threading it through props. It solves prop drilling for genuinely ambient things — theme, locale, the current user, a client instance. It is a poor state container, because every consumer re-renders whenever any part of the value changes, and an object literal as the value means that is every render.

Commonly confused with