Pattern

Unstable Selector Subscriptions

unstable-selector-subscriptions

A recurring re-render/missed-update problem where Zustand selectors return new references or rely on nested Immer updates without correct equality, causing infinite loops or stale UI until shallow comparison and proper mocking are applied.