Pattern

Reference Instability Breaks Memoization

unstable-reference-prop-context

New function/object references created each render—passed via props, context, or children—defeat memoization and invalidate selector independence assumptions, leading to needless re-renders and, when mis-shaped, runtime errors like invalid React element types.