State Management

Model, review, and refactor application state so source state stays minimal, derived state is computed instead of synchronized, impossible states are not representable, and each piece of state lives in the right place. Use this whenever the user mentions state management, reducers, stores, Redux, Zustand, React state, Vue state, Pinia, selectors, derived state, duplicated state, boolean flags, invalid states, async status, useEffect soup, forms, wizards, filters, URL state, server state, or confusing UI logic, even if they do not explicitly ask for a "state model."

statelyai c47a83f 10 files · 44.8 KB Updated

File contents

statelyai/skills/tree/main/skills/state-management commit c47a83ff5c

Frequently asked questions

npx skillmds add statelyai/state-management