Lightlines
By yonatangross

zustand-patterns

yonatangross1.4k installs

Build maintainable, type-safe Zustand stores.

What it does

Guides Zustand 5.x store design with typed slices, middleware, persistence, selectors, optimization, and integration patterns.

When to use it

Use when building React state management with Zustand instead of Redux.

How to use it

It changes how the agent builds and reviews Zustand state management in a project.

What you provide

  • An existing project

Latest review

What you need · 2

The guidance targets zustand 5.0.0 or later.

The selector guidance assumes React 18 or later.


Access · 0

No additional actions listed.