TanStack
Store
v0
自动
框架
React
版本
最新
搜索...
+ K
菜单
首页
框架
贡献者
GitHub
Discord
入门指南
概述
core
安装
core
快速上手
core
快速上手
react
API 参考
JavaScript 参考
core
类 / Store
core
类 / Derived
core
类 / Effect
core
接口 / StoreOptions
core
接口 / DerivedOptions
core
React 参考
react
函数 / useStore
react
函数 / shallow
react
示例
简单示例
react
TanStack
Store
v0
自动
搜索...
+ K
框架
React
版本
最新
菜单
首页
框架
贡献者
GitHub
Discord
入门指南
概述
core
安装
core
快速上手
core
快速上手
react
API 参考
JavaScript 参考
core
类 / Store
core
类 / Derived
core
类 / Effect
core
接口 / StoreOptions
core
接口 / DerivedOptions
core
React 参考
react
函数 / useStore
react
函数 / shallow
react
示例
简单示例
react
本页内容
类型别名:Updater<T>
类型参数
Updater
类型别名:Updater<T>
ts
type Updater<T> = (prev) => T | T;
type Updater<T> = (prev) => T | T;
定义于:
types.ts:9
类型安全的更新器,可以是函数或直接值
类型参数
•
T
在 GitHub 上编辑
本页内容
类型别名:Updater<T>
类型参数
首页
我们的合作伙伴
哇,看起来您可能是这个库的第一个合作伙伴!
与我们聊天!
TanStack
Virtual
在 TS/JS、React、Vue、Solid、Svelte、Lit 和 Angular 中以 60FPS 仅虚拟化可见内容的大型可滚动 DOM 节点,同时保持对标记和样式的 100% 控制。
了解更多
TanStack
Config
我们所有项目使用的构建和发布工具。如果您敢的话就使用它!
了解更多
订阅
Bytes