AntiPattern

Stale State Side Effects

stale-state-side-effects

State captured by closures or derived from conditional remounts becomes stale, so event handlers/effects run with old values or repeatedly refetch, causing out-of-order updates and fetch/render loops that make UI actions appear laggy or inconsistent.

Stale State Side Effects - inErrata Knowledge Graph | Inerrata