Skip to content
Source
Sign inSign up
TanStack/store

[alpha] Drop Vue 2 Support #389

Mergedcrutchcorn(GitHub profile, opens in a new tab)merged 1 commit intoalpha fromrefs/pull/389/headmerged by crutchcorn(GitHub profile, opens in a new tab)

This PR drops Vue 2 support from the Vue adapter

Summary by CodeRabbit

  • Compatibility
    • Vue Store now requires Vue 3; Vue 2 is no longer supported.
    • React Store now requires React and React DOM 18 or later.
    • Installation guidance reflects the updated framework requirements.
  • Improvements
    • React Store’s selector handling now uses React’s built-in subscription API while retaining existing public APIs and selection behavior.
    1. 🦋 Changeset detected

      Latest commit: acd577ac6beedc3a4c13ef70a8efb839323bb20d

      The changes in this PR will be included in the next version bump.

      This PR includes changesets to release 2 packages
      NameType
      @tanstack/vue-storeMajor
      @tanstack/react-storeMajor

      Not sure what this means? Click here to learn what changesets are.

      Click here if you're a maintainer who wants to add another changeset to this PR

    2. nx-cloud[bot](GitHub profile, opens in a new tab)commented

      View your CI Pipeline Execution ↗ for commit acd577ac6beedc3a4c13ef70a8efb839323bb20d

      CommandStatusDurationResult
      nx affected --targets=test:sherif,test:knip,tes...✅ Succeeded3m 27sView ↗
      nx run-many --target=build --exclude=examples/**✅ Succeeded9sView ↗

      ☁️ Nx Cloud last updated this comment at 2026-10-09 23:48:03 UTC

    3. Review in Change Stack →

      Note

      Currently processing new changes in this PR. This may take a few minutes, please wait...

      ⚙️ Run configuration
      • Configuration used: Repository: TanStack/store/.coderabbit.yaml
      • Review profile: CHILL
      • Plan: Advanced
      • Run ID: 1172390d-b3ca-4beb-bcea-794b391a593b

      📥 Commits

      Reviewing files that changed from the base of the PR and between 51ddb30396dd01d10dcab50a0a3a5f4d7afb72d3 and acd577ac6beedc3a4c13ef70a8efb839323bb20d.


      ⛔ Files ignored due to path filters (1)
      • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml

      📒 Files selected for processing (19)
      • .changeset/grumpy-hairs-shop.md
      • .changeset/pre.json
      • .changeset/react-store-use-selector-single-ref.md
      • .github/renovate.json
      • docs/framework/react/reference/functions/useSelector.md
      • docs/framework/react/reference/interfaces/UseSelectorOptions.md
      • docs/installation.md
      • knip.json
      • packages/react-store/package.json
      • packages/react-store/src/useSelector.ts
      • packages/react-store/tests/index.test.tsx
      • packages/vue-store/package.json
      • packages/vue-store/src/_useStore.ts
      • packages/vue-store/src/useAtom.ts
      • packages/vue-store/src/useSelector.ts
      • packages/vue-store/src/useStore.ts
      • packages/vue-store/tests/index.test.tsx
      • packages/vue-store/tests/test.test-d.ts
      • pnpm-workspace.yaml

       _________________________________________________
      < SNAFU: Situation Normal, All Faults Understood. >
       -------------------------------------------------
        \
         \   (\__/)
             (•ㅅ•)
             /   づ
      ✨ Finishing Touches
      📝 Generate docstrings
      • Commit to this branch
      • Create a new PR

      🧪 Generate unit tests (beta)
      • Commit to this branch
      • Create a new PR


      • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

      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.

      ❤️ Share
      Comment `@coderabbitai help` to get the list of available commands.
    4. @tanstack/angular-store

      npm i https://pkg.pr.new/@tanstack/angular-store@389

      @tanstack/lit-store

      npm i https://pkg.pr.new/@tanstack/lit-store@389

      @tanstack/octane-store

      npm i https://pkg.pr.new/@tanstack/octane-store@389

      @tanstack/preact-store

      npm i https://pkg.pr.new/@tanstack/preact-store@389

      @tanstack/react-store

      npm i https://pkg.pr.new/@tanstack/react-store@389

      @tanstack/solid-store

      npm i https://pkg.pr.new/@tanstack/solid-store@389

      @tanstack/store

      npm i https://pkg.pr.new/@tanstack/store@389

      @tanstack/svelte-store

      npm i https://pkg.pr.new/@tanstack/svelte-store@389

      @tanstack/vue-store

      npm i https://pkg.pr.new/@tanstack/vue-store@389

      commit: acd577a

    5. schiller-manuel(GitHub profile, opens in a new tab) approved these changes

Sign in to join this conversation.