We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e336c6 commit fe635b2Copy full SHA for fe635b2
README.md
@@ -110,6 +110,11 @@ Zustand is configured with:
110
- **Tauri Store persistence** for data that survives app restarts
111
- **TypeScript support** for type-safe stores
112
113
+Example store with Immer:
114
+```bash
115
+src/store/immer/immer-store.ts
116
+```
117
+
118
Example store with persistence:
119
```typescript
120
import { create } from 'zustand'
README.zh-CN.md
@@ -110,6 +110,11 @@ Zustand 配置包含:
- **Tauri Store 持久化** 用于应用重启后保存的数据
- **TypeScript 支持** 用于类型安全的状态管理
+immer 示例:
带持久化的示例状态管理:
0 commit comments