# What changed in @tanstack/react-store

> 6 changes in @tanstack/react-store 0.9 to 0.11 from its official release notes, upgrade guides and advisories: 3 breaking, 1 deprecations, 2 new APIs and options. Each one cited. Sources checked 2026-11-22. HTML: https://unstale.sh/npm/@tanstack/react-store/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @tanstack/react-store 0.11

### Deprecations

- The hook is deprecated and replaced by useSelector. (0.11.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.11.0)

### New APIs and options

- A new API provides StoreProvider and useStoreContext for context-based consumption. (0.11.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.11.0)
- A new hook is included in this release, replacing the deprecated useStore. (0.11.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.11.0)

## @tanstack/react-store 0.9

### Breaking changes

- Use createStore() instead of new Store(); derived stores are also created with createStore() and a function. (0.9.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.9.0)
- new Effect() is removed in favor of store.subscribe(). (0.9.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.9.0)
- Subscribe to store updates with store.subscribe(), which returns an unsubscribe function. (0.9.0) — [release notes](https://github.com/TanStack/store/releases/tag/%40tanstack/react-store%400.9.0)
