xstate▌
vercel-labs/json-render · updated Apr 8, 2026
XState Store adapter for json-render's StateStore interface. Wire an @xstate/store atom as the state backend for json-render.
@json-render/xstate
XState Store adapter for json-render's StateStore interface. Wire an @xstate/store atom as the state backend for json-render.
Installation
npm install @json-render/xstate @json-render/core @json-render/react @xstate/store
Requires @xstate/store v3+.
Usage
import { createAtom } from "@xstate/store";
import { xstateStoreStateStore } from "@json-render/xstate";
import { StateProvider } from "@json-render/react";
// 1. Create an atom
const uiAtom = createAtom({ count: 0 });
// 2. Create the json-render StateStore adapter
const store = xstateStoreStateStore({ atom: uiAtom });
// 3. Use it
<StateProvider store={store}>
{/* json-render reads/writes go through @xstate/store */}
</StateProvider>
API
xstateStoreStateStore(options)
Creates a StateStore backed by an @xstate/store atom.
| Option | Type | Required | Description |
|---|---|---|---|
atom |
Atom<StateModel> |
Yes | An @xstate/store atom (from createAtom) holding the json-render state model |
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★30 reviews- ★★★★★Michael Dixit· Dec 20, 2024
Solid pick for teams standardizing on skills: xstate is focused, and the summary matches what you get after install.
- ★★★★★Diego Wang· Dec 12, 2024
Registry listing for xstate matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Sakshi Patil· Nov 15, 2024
Solid pick for teams standardizing on skills: xstate is focused, and the summary matches what you get after install.
- ★★★★★Harper Verma· Nov 3, 2024
xstate reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Noor Park· Oct 22, 2024
xstate is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Chaitanya Patil· Oct 6, 2024
I recommend xstate for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Piyush G· Sep 9, 2024
xstate fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Fatima Yang· Sep 9, 2024
We added xstate from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Shikha Mishra· Aug 28, 2024
xstate has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Olivia Ndlovu· Aug 28, 2024
Keeps context tight: xstate is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 30