LogoClawIndex
案例技能关于
LogoClawIndex

client-state-zustand - 使用 Zustand 管理纯客户端 UI 状态

包含客户端 UI 状态中选择 Zustand 或 React Context 的指南及 Store 切片规范。

标签

更新于: 2026-09-09
reactzustand状态管理ui状态context

能力

典型输入

典型输出

该技能可以做什么

  • 选择状态管理策略
  • 创建作用域 Zustand Store
  • 选择精细 Store 切片
  • 定义 Store 内部操作

输入

  • UI 状态需求
  • 源代码文件

输出

  • Zustand Store 实现
  • 精细状态选择器

要求

  • React 框架
  • Zustand 依赖库

来源

  • 规范: SKILL.md

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。
选择状态管理策略
创建作用域 Zustand Store
选择精细 Store 切片
定义 Store 内部操作
UI 状态需求
源代码文件
Zustand Store 实现
精细状态选择器