Framework Agnostic Reactive Store
Type-safe state management with fine-grained reactivity. Build reactive applications with atoms, derived stores, and framework adapters for React, Vue, Solid, Angular, Svelte, and Preact.
Quick Start
Get up and running with TanStack Store in minutes
Install the package
@tanstack/react-store, @tanstack/vue-store).Create your first store
createStore and initialize a store with an initial value:Use with your framework
- React
- Vue
- Solid
Explore by Topic
Learn core concepts and integrate with your favorite framework
Stores
Atoms
Derived Stores
Subscriptions
Batching
Async Atoms
Framework Support
First-class adapters for all major JavaScript frameworks
React
Use TanStack Store with React hooks
Learn moreVue
Integrate with Vue’s composition API
Learn moreSolid
Leverage Solid’s fine-grained reactivity
Learn moreAngular
Use dependency injection with Angular
Learn moreSvelte
Integrate with Svelte stores seamlessly
Learn morePreact
Lightweight state management for Preact
Learn moreKey Features
Built for performance, developer experience, and flexibility
Fine-Grained Reactivity
Update only what changes with fine-grained subscriptions. No unnecessary re-renders or computations.
Type-Safe
Full TypeScript support with inference. Catch errors at compile time, not runtime.
Framework Agnostic
Use vanilla JS or any framework. Adapters for React, Vue, Solid, Angular, Svelte, and Preact included.
Lightweight
Minimal bundle size with zero dependencies. Only pay for what you use.
Ready to build reactive applications?
Get started with TanStack Store in minutes and experience the power of fine-grained reactivity.
Get Started