SKILL6.9K installs83.5K

Zustand

LobeHub Zustand store conventions. Use when editing src/store, store slices, public/internal actions, dispatch actions, flattenActions, optimistic updates, selectors, maps, or class action migration.

Type
Skill
Author
lobehub
Category
Frontend
GitHub stars
83.5K
Installs
6.9K
Last updated
November 2, 2026

Install

npx skills add https://github.com/lobehub/lobehub --skill zustand

Use cases


Frequently Asked Questions

When should this skill be used?

When editing or refactoring LobeHub state management, particularly inside src/store.

Does it cover flattenActions?

Yes, flattenActions is listed among the conventions alongside public and internal actions, dispatch actions and selectors.

Can it help migrate class-based actions?

Yes, class action migration is one of the areas the skill covers.


About this skill

Documents LobeHub's Zustand store conventions for working in src/store. It covers store slices, public and internal actions, dispatch actions, flattenActions, optimistic updates, selectors, maps, and migrating class-based actions. Use it when editing or refactoring LobeHub state management so changes match the project's established patterns.

Summary written with AI assistance from the project's public description.


Categories


More from lobehub


Similar Skills