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@tanstack/react-store 0.113 changes
Deprecations 1
The hook is deprecated and replaced by useSelector.
New APIs and options 2
A new API provides StoreProvider and useStoreContext for context-based consumption.
A new hook is included in this release, replacing the deprecated useStore.
@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.
new Effect() is removed in favor of store.subscribe().
Subscribe to store updates with store.subscribe(), which returns an unsubscribe function.