Labsco
vercel-labs logo

jotai

β˜… 15,600

by vercel Β· part of vercel-labs/json-render

Jotai adapter for json-render's StateStore interface. Use when integrating json-render with Jotai for state management via @json-render/jotai.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup
🧰 Not standalone. This skill ships with vercel-labs/json-render and only works together with that tool β€” install the tool first, then add this skill.

This is the playbook your agent receives when the skill activates β€” you don't need to read it to use the skill, but it's here to audit before installing.

by vercel

Jotai adapter for json-render's StateStore interface. Use when integrating json-render with Jotai for state management via @json-render/jotai. npx skills add https://github.com/vercel-labs/json-render --skill jotai Download ZIPGitHub15.6k

@json-render/jotai

Jotai adapter for json-render's StateStore interface. Wire a Jotai atom as the state backend for json-render.

API

jotaiStateStore(options)

Creates a StateStore backed by a Jotai atom.

Option Type Required Description atom WritableAtom<StateModel, [StateModel], void> Yes A writable atom holding the state model store Jotai Store No The Jotai store instance. Defaults to a new store. Pass your own to share state with <Provider>.