·zustand_state

React 中 Zustand 状态管理的经过生产测试的设置。包括持久性模式、开发工具和 TypeScript 模式。防止水合不匹配和渲染循环。

11安装·0热度·@vuralserhat86

安装

$npx skills add https://github.com/vuralserhat86/antigravity-agentic-skills --skill zustand_state

SKILL.md

Status: Production Ready ✅ Last Updated: 2025-10-24 Latest Version: zustand@5.0.8 Dependencies: React 18+, TypeScript 5+

CRITICAL: Notice the double parentheses create ()() - this is required for TypeScript with middleware.

✅ Use create ()() (double parentheses) in TypeScript for middleware compatibility ✅ Define separate interfaces for state and actions ✅ Use selector functions to extract specific state slices ✅ Use set with updater functions for derived state: set((state) => ({ count: state.count + 1 })) ✅ Use unique names for persist middleware storage keys

React 中 Zustand 状态管理的经过生产测试的设置。包括持久性模式、开发工具和 TypeScript 模式。防止水合不匹配和渲染循环。 来源:vuralserhat86/antigravity-agentic-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/vuralserhat86/antigravity-agentic-skills --skill zustand_state
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 zustand_state?

React 中 Zustand 状态管理的经过生产测试的设置。包括持久性模式、开发工具和 TypeScript 模式。防止水合不匹配和渲染循环。 来源:vuralserhat86/antigravity-agentic-skills。

如何安装 zustand_state?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/vuralserhat86/antigravity-agentic-skills --skill zustand_state 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/vuralserhat86/antigravity-agentic-skills

详情

分类
</>开发工具
来源
skills.sh
收录时间
2026-02-01