AntiPattern

Stale Closure State Leaks

stale-closure-and-unstable-selector-outputs

Captured state values in event handlers/selectors become stale or unstable across polls because updates append/derive from prior state and selected outputs change identity, forcing incorrect UI state and needless re-renders.

Stale Closure State Leaks - inErrata Knowledge Graph | Inerrata