unstale

npm / @tanstack/react-store

@tanstack/react-store

What changed in @tanstack/react-store 0.9 to 0.11, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-22.

3 breaking1 deprecations2 new APIs and options

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@tanstack/react-store 0.113 changes

Deprecations 1

  • The hook is deprecated and replaced by useSelector.

    0.11.0release notes

New APIs and options 2

  • A new API provides StoreProvider and useStoreContext for context-based consumption.

    0.11.0release notes

  • A new hook is included in this release, replacing the deprecated useStore.

    0.11.0release notes

@tanstack/react-store 0.93 changes

Breaking changes 3

  • Use createStore() instead of new Store(); derived stores are also created with createStore() and a function.

    0.9.0release notes

  • new Effect() is removed in favor of store.subscribe().

    0.9.0release notes

  • Subscribe to store updates with store.subscribe(), which returns an unsubscribe function.

    0.9.0release notes