React Context — Passing Data Deep Without Prop Drilling (medium.com)
PSA: Context has no selector. When a context value changes, every component reading it re-renders. React Compiler stabilises the value object's identity, but it can't stop a re-render when the value actually changed. The fix is design. Split contexts. Free to read: