tanstack-vue-store-skilld
TanStack/store @tanstack/vue-store@0.11.0
Tags: latest: 0.11.0
References: Docs
API Changes
This section documents version-specific API changes — prioritize recent major/minor releases.
-
BREAKING:
new Store()->createStore()— v0.9.0 replaced the class constructor with a factory function for all store instantiations source -
BREAKING:
new Derived()->createStore(fn)— v0.9.0 unified derived and simple state creation into the singlecreateStoreAPI source -
BREAKING:
new Effect()->store.subscribe()— v0.9.0 removed theEffectclass; side effects are now handled directly via store subscriptions source -
NEW:
createStore(initialValue)— now the standard way to initialize a store instance with a given initial state source -
NEW:
createStore((prev) => next)— creates a derived store that automatically updates when dependencies change, receiving the optionalprevstate source -
NEW:
createAtom()— creates a generic signal-based atom for granular reactivity, re-exported from@tanstack/storesource