React Context API
The ‘new’ Context API (16.3+) is createContext + Provider + Consumer/useContext. It replaced the barely-used legacy contextTypes API. Today you almost always useContext, not <Theme.Consumer>.
value should be stable when possible — a new {{}} object every render makes all consumers update. Memoize the value or split contexts (theme vs user).
React Context API — on screen — Asha. Deep child reads user without five prop layers.
Provider value
│
▼
deep child
useContextNew vs legacy + stable Provider value.