client-state-zustand - 使用 Zustand 管理纯客户端 UI 状态
包含客户端 UI 状态中选择 Zustand 或 React Context 的指南及 Store 切片规范。
标签
更新于: 2026-09-09能力
典型输入
典型输出
该技能可以做什么
- 选择状态管理策略
- 创建作用域 Zustand Store
- 选择精细 Store 切片
- 定义 Store 内部操作
输入
- UI 状态需求
- 源代码文件
输出
- Zustand Store 实现
- 精细状态选择器
要求
- React 框架
- Zustand 依赖库
