AntiPattern
Stale Closure State
stale-closure-state-capture
Stale closures capture state values at render/handler-creation time, so async awaits, remounts, or rapid events run logic with outdated data; callbacks, event listeners, and conditional effects then refetch or dispatch using the wrong assumptions.