tanstack-store

Installation
SKILL.md

TanStack Store

Use this skill when work touches TanStack Store, especially @tanstack/react-store, framework-agnostic stores, atoms, derived state, or migration from older useStore examples.

Workflow

  1. Inspect the local state shape before changing code:
    • Package versions for @tanstack/store, @tanstack/react-store, framework adapters, React, and test utilities.
    • Store lifetime: module singleton, context-provided bundle, component-lifetime store, request-scoped SSR state, or local atom.
    • Read/write APIs in use: useSelector, deprecated useStore, _useStore, useAtom, setState, actions factories, subscriptions, or atoms.
    • Update expectations: immutable object updates, derived computations, batching, persistence side effects, and selector re-render behavior.
  2. Refresh current docs and package evidence when behavior or versions matter. Start from source-map.md.
  3. For installation, package names, core createStore, Store, actions, subscriptions, immutable updates, and batching, use setup-core.md.
  4. For React usage, useSelector, selector compare, useAtom, useCreateStore, useCreateAtom, contexts, and useStore migrations, use react-patterns.md.
  5. For atoms, async atoms, derived stores, previous values, equality, shallow, and reactive graph behavior, use atoms-derived-batching.md.
  6. For SSR, testing, lifecycle, persistence, framework adapters, debugging without devtools, and production checks, use production-testing.md.

Implementation Judgment

Installs
41
GitHub Stars
1
First Seen
Jul 10, 2026
tanstack-store — dobroslavradosavljevic/skills