安裝

你可以使用任何 NPM 套件管理工具安裝 TanStack Store。

React

sh
npm install @tanstack/react-store
npm install @tanstack/react-store

TanStack Store 相容於 React v16.8+ 版本,目前僅支援 ReactDOM。若您有意為 React Native 適配器 (adapter) 貢獻程式碼,請透過 Discord 聯繫我們。

Vue

sh
npm install @tanstack/vue-store
npm install @tanstack/vue-store

TanStack Store 相容於 Vue 2 和 3 版本。

Angular

sh
npm install @tanstack/angular-store
npm install @tanstack/angular-store

TanStack Store 相容於 Angular 19+ 版本。

SolidJS

sh
npm install @tanstack/solid-store
npm install @tanstack/solid-store

TanStack Store 相容於 Solid 和 SolidStart 框架。

Svelte

sh
npm install @tanstack/svelte-store
npm install @tanstack/svelte-store

TanStack Store 相容於 Svelte 5 版本。

Subscribe to Bytes

Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.

Bytes

No spam. Unsubscribe at any time.