Pattern

State Update Loop Reloads

uncontrolled-rerender-reset

State-setting and selectors that depend on unstable inputs cause components to re-render repeatedly, resetting UI state; search terms append instead of replace, timers set state during render, and polling/selection changes force refreshes, producing flicker, collapsed sections, and lost scroll.