
Zustand
- 1.4k installs
- 15.8k repo stars
- Updated July 8, 2026
- vercel-labs/json-render
zustand is an agent skill for zustand adapter for json-render's statestore interface. use when integrating json-render with zustand for state management via @json-render/zustand.
About
The zustand skill is designed for zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand. @json-render/zustand Zustand adapter for json-render's StateStore interface. Wire a Zustand vanilla store as the state backend for json-render. Invoke when the user integrating json-render with Zustand for state management via @json-render/zustand.
- Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state manageme
- User integrating json-render with Zustand for state management via @json-render/zustand.
- Developers using zustand workflows documented in SKILL.md.
Zustand by the numbers
- 1,379 all-time installs (skills.sh)
- +36 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #307 of 2,245 Frontend Development skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
zustand capabilities & compatibility
- Capabilities
- zustand adapter for json render's statestore int · user integrating json render with zustand for st · developers using zustand workflows documented in
What zustand says it does
Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.
Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.
npx skills add https://github.com/vercel-labs/json-render --skill zustandAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.4k |
|---|---|
| repo stars | ★ 15.8k |
| Security audit | 3 / 3 scanners passed |
| Last updated | July 8, 2026 |
| Repository | vercel-labs/json-render ↗ |
How do I zustand adapter for json-render's statestore interface. use when integrating json-render with zustand for state management via @json-render/zustand?
Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.
Who is it for?
Developers using zustand workflows documented in SKILL.md.
Skip if: Skip when the task falls outside zustand scope or needs a different stack.
When should I use this skill?
User integrating json-render with Zustand for state management via @json-render/zustand.
What you get
Completed zustand workflow with documented commands, files, and expected deliverables.
- Zustand StateStore adapter
- StateProvider integration code
By the numbers
- Requires 4 npm packages: @json-render/zustand, @json-render/core, @json-render/react, zustand
- Zustand v5+ required; v4 explicitly unsupported
Files
@json-render/zustand
Zustand adapter for json-render's StateStore interface. Wire a Zustand vanilla store as the state backend for json-render.
Installation
npm install @json-render/zustand @json-render/core @json-render/react zustandRequires Zustand v5+. Zustand v4 is not supported due to breaking API changes in the vanilla store interface.
Usage
import { createStore } from "zustand/vanilla";
import { zustandStateStore } from "@json-render/zustand";
import { StateProvider } from "@json-render/react";
// 1. Create a Zustand vanilla store
const bearStore = createStore(() => ({
count: 0,
name: "Bear",
}));
// 2. Create the json-render StateStore adapter
const store = zustandStateStore({ store: bearStore });
// 3. Use it
<StateProvider store={store}>
{/* json-render reads/writes go through Zustand */}
</StateProvider>With a Nested Slice
const appStore = createStore(() => ({
ui: { count: 0 },
auth: { token: null },
}));
const store = zustandStateStore({
store: appStore,
selector: (s) => s.ui,
updater: (next, s) => s.setState({ ui: next }),
});API
zustandStateStore(options)
Creates a StateStore backed by a Zustand store.
| Option | Type | Required | Description |
|---|---|---|---|
store | StoreApi<S> | Yes | Zustand vanilla store (from createStore in zustand/vanilla) |
selector | (state) => StateModel | No | Select the json-render slice. Defaults to entire state. |
updater | (nextState, store) => void | No | Apply next state to the store. Defaults to shallow merge. Override for nested slices, or use (next, s) => s.setState(next, true) for full replacement. |
Related skills
How it compares
Pick zustand when json-render already drives UI and Zustand v5 is the chosen store; skip if the app uses Redux or no json-render.
FAQ
What does zustand do?
Zustand adapter for json-render's StateStore interface. Use when integrating json-render with Zustand for state management via @json-render/zustand.
When should I use zustand?
User integrating json-render with Zustand for state management via @json-render/zustand.
Is zustand safe to install?
Review the Security Audits panel on this page before installing in production.