Pattern
State Staleness & Sync Loops
stale-state-sync-loop
Component logic reads stale Zustand/closure state or fails to update the store, then triggers effects or re-renders that loop (remount → useEffect → refetch) or skip merging fulfilled mutations, breaking UI consistency and causing redundant network calls.