tanstack-store Documentation
TanStack Store is a framework-agnostic reactive state management library with adapters for React, Vue, Solid, Angular, Preact, Svelte, Lit, and Octane. It provides stores, atoms, derived state, and selector patterns.
Documentation Structure
contents/
├── overview.md # Library overview and concepts
├── installation.md # Installation guide
├── quick-start.md # Core quick-start (framework-agnostic)
├── reference/ # Core API: Store, atoms, types
└── framework/ # Per-framework integration
├── react/ angular/ preact/ solid/ vue/ svelte/
└── lit/ octane/
Topic Guide
| Topic |
Key Files |
| Overview and concepts |
contents/overview.md, contents/quick-start.md |
| Installation |
contents/installation.md |
| Core Store class |
contents/reference/classes/Store.md, contents/reference/functions/createStore.md |
| Atoms and derived state |
contents/reference/functions/createAtom.md, contents/reference/functions/createAsyncAtom.md |
| Batch updates |
contents/reference/functions/batch.md, contents/reference/functions/flush.md |
| React |
contents/framework/react/quick-start.md, contents/framework/react/reference/functions/useSelector.md |
| Angular |
contents/framework/angular/quick-start.md, contents/framework/angular/reference/functions/injectSelector.md |
| Vue |
contents/framework/vue/quick-start.md |
| Solid |
contents/framework/solid/quick-start.md |
| Preact |
contents/framework/preact/quick-start.md |
| Svelte |
contents/framework/svelte/quick-start.md |
| Lit |
contents/framework/lit/quick-start.md |
| Octane |
contents/framework/octane/quick-start.md |
| Types |
contents/reference/interfaces/Atom.md, contents/reference/interfaces/Subscribable.md |
When to use
Use this skill when the user asks about:
- Creating and using TanStack Store stores or atoms
- Derived/computed state, selectors, batch updates
- Integrating @tanstack/store with React, Angular, Vue, Solid, Preact, Svelte, Lit, or Octane
- useStore, useSelector, useAtom, injectStore, createStoreContext
- TanStack Store API types and interfaces
How to find information
- Use Topic Guide above to identify relevant files
- Read
TOC.md for complete file listing by directory
- Read specific files from
contents/{path}
1---2name: olore-tanstack-store-0-11-23description: Local TanStack Store documentation reference (0.11.2). TanStack Store documentation. Use for framework-agnostic reactive state management, stores, derived state, effects, and React/Vue/Solid/Angular/Svelte integration.4metadata:5 source: https://skillmd.com/skills/olorehq/olore-tanstack-store-0-11-26---78# tanstack-store Documentation910TanStack Store is a framework-agnostic reactive state management library with adapters for React, Vue, Solid, Angular, Preact, Svelte, Lit, and Octane. It provides stores, atoms, derived state, and selector patterns.1112## Documentation Structure1314```15contents/16├── overview.md # Library overview and concepts17├── installation.md # Installation guide18├── quick-start.md # Core quick-start (framework-agnostic)19├── reference/ # Core API: Store, atoms, types20└── framework/ # Per-framework integration21 ├── react/ angular/ preact/ solid/ vue/ svelte/22 └── lit/ octane/23```2425## Topic Guide2627| Topic | Key Files |28|-------|-----------|29| Overview and concepts | `contents/overview.md`, `contents/quick-start.md` |30| Installation | `contents/installation.md` |31| Core Store class | `contents/reference/classes/Store.md`, `contents/reference/functions/createStore.md` |32| Atoms and derived state | `contents/reference/functions/createAtom.md`, `contents/reference/functions/createAsyncAtom.md` |33| Batch updates | `contents/reference/functions/batch.md`, `contents/reference/functions/flush.md` |34| React | `contents/framework/react/quick-start.md`, `contents/framework/react/reference/functions/useSelector.md` |35| Angular | `contents/framework/angular/quick-start.md`, `contents/framework/angular/reference/functions/injectSelector.md` |36| Vue | `contents/framework/vue/quick-start.md` |37| Solid | `contents/framework/solid/quick-start.md` |38| Preact | `contents/framework/preact/quick-start.md` |39| Svelte | `contents/framework/svelte/quick-start.md` |40| Lit | `contents/framework/lit/quick-start.md` |41| Octane | `contents/framework/octane/quick-start.md` |42| Types | `contents/reference/interfaces/Atom.md`, `contents/reference/interfaces/Subscribable.md` |4344## When to use4546Use this skill when the user asks about:47- Creating and using TanStack Store stores or atoms48- Derived/computed state, selectors, batch updates49- Integrating @tanstack/store with React, Angular, Vue, Solid, Preact, Svelte, Lit, or Octane50- useStore, useSelector, useAtom, injectStore, createStoreContext51- TanStack Store API types and interfaces5253## How to find information54551. Use Topic Guide above to identify relevant files562. Read `TOC.md` for complete file listing by directory573. Read specific files from `contents/{path}`