Community编程与开发github.com

vercel-labs/zustand

用于 json-render 的 StateStore 接口的 Zustand 适配器。当通过 @json-render/zustand 集成 json-render 与 Zustand 进行状态管理时使用。

zustand 是什么?

这是一个专门为 json-render 框架设计的 Zustand 适配器,提供了 StateStore 接口的 Zustand 实现。它支持开发者在使用 json-render 构建应用时,通过 @json-render/zustand 包无缝集成 Zustand 进行状态管理。该适配器抽象了 Zustand 的底层实现细节,使开发者能够以统一的方式操作状态,同时保持 Zustand 的轻量、高性能特性。主要适用于需要将 json-render 的组件状态与 Zustand 状态管理库结合的场景。支持 npm 包 @json-render/zustand,并提供了约定化的 StateStore 接口绑定。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/vercel-labs/json-render/tree/main/skills/zustand

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

zustand 是做什么的?

用于 json-render 的 StateStore 接口的 Zustand 适配器。当通过 @json-render/zustand 集成 json-render 与 Zustand 进行状态管理时使用。

Individual skills in this repo

This repo contains 7 individual skills — each has its own dedicated page.

vercel-labs/core

Core package for defining schemas, catalogs, and AI prompt generation for json-render. Use when working with @json-render/core, defining schemas, creating catalogs, or building JSON specs for UI/video generation.

vercel-labs/react

React renderer for json-render that turns JSON specs into React components. Use when working with @json-render/react, building React UIs from JSON, creating component catalogs, or rendering AI-generated specs.

vercel-labs/react-native

React Native renderer for json-render that turns JSON specs into native mobile UIs. Use when working with @json-render/react-native, building React Native UIs from JSON, creating mobile component catalogs, or rendering AI-generated specs on mobile.

vercel-labs/react-pdf

React PDF renderer for json-render. Use when generating PDF documents from JSON specs, working with @json-render/react-pdf, or rendering specs to PDF buffers/streams/files.

vercel-labs/react-three-fiber

React Three Fiber 3D renderer for json-render. Use when working with @json-render/react-three-fiber, building 3D scenes from JSON specs, rendering meshes/lights/models/environments, or integrating Three.js with json-render catalogs.

vercel-labs/remotion

Remotion renderer for json-render that turns JSON timeline specs into videos. Use when working with @json-render/remotion, building video compositions from JSON, creating video catalogs, or rendering AI-generated video timelines.

vercel-labs/shadcn

Pre-built shadcn/ui components for json-render. Use when working with @json-render/shadcn, adding standard UI components to a catalog, or building web UIs with Radix UI + Tailwind CSS components.

相关技能