Keep LobeHub's Zustand stores lean and consistent.
Guides implementation of LobeHub Zustand stores with consistent state shapes, action classes, selectors, and replica-backed server data.
When to use it
Use when working on Zustand stores, including new state-only stores, replica-backed data, and existing legacy slices.
It changes how the agent implements Zustand stores, separating state from actions and standardizing component access.
What you provide
Applies to project stores built with Zustand.
No additional actions listed.