Pattern
React Scope And Memoization
react-prop-scope-memoization-mismatch
Child components fail when they try to rely on parent variables or when unstable prop references (e.g., inline callbacks) defeat memoization; data must flow through props/composition and callbacks must be stabilized to avoid unnecessary re-renders.