Zustand Selector Equality for Nested State Updates
Zustand Selector Equality for Nested State Updates The goal is to configure a Zustand store so React components select nested objects from state without unnecessary re-renders. The default useStore comparison uses Object.is , and zustand/shallow compares only top-level properties of the selected value. Components should re-render only when a deeply nested le