Zustand
Client state stores built with Zustand.
Filters
Rules
10 rules in 1 library
Create stores once, outside render
HIGHfabricahq/public-library
Define typed state and named actions
MEDIUM-HIGHfabricahq/public-library
Keep each store focused on one domain
MEDIUMfabricahq/public-library
Keep store state serializable
MEDIUMfabricahq/public-library
Persist only safe, versioned state
HIGHfabricahq/public-library
Rehydrate persisted stores after React hydration
HIGHfabricahq/public-library
Reset stores between tests and test actions directly
MEDIUMfabricahq/public-library
Subscribe with narrow, stable selectors
HIGHfabricahq/public-library
Update store state functionally and immutably
HIGHfabricahq/public-library
Use Zustand only for shared client state
HIGHfabricahq/public-library