Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
View your CI Pipeline Execution ↗ for commit e7a7a17
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview7 package(s) bumped directly, 0 bumped as dependents. 🟨 Minor bumps
|
@tanstack/angular-store
@tanstack/preact-store
@tanstack/react-store
@tanstack/solid-store
@tanstack/store
@tanstack/svelte-store
@tanstack/vue-store
commit: |
🎯 Changes
Add optional typed actions to
@tanstack/storewritable stores and wire the React adapter/examples up to that new API.What Changed
createStore(initialValue, actionsFactory)for writable stores.Storeto support typedactionsbags viaStore<T, TActions = never>.createStore(fn)still returns a readonly derived store.useStoreActionsto@tanstack/react-store.useCreateStoreand React store hook typings to support stores with actions.Notes
createStore(fn, actions)remains unsupported at the type level so function-first-arg keeps its existing readonly-derived meaning.✅ Checklist
pnpm test:pr.🚀 Release Impact