Skip to content

[alpha] Drop Vue 2 Support - #389

Merged
crutchcorn merged 1 commit into
alphafrom
vue-3
Oct 9, 2026
Merged

crutchcorn merged 1 commit into
alphafrom
vue-3

Conversation

@crutchcorn

@crutchcorn crutchcorn commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

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.

@crutchcorn
crutchcorn requested a review from a team as a code owner October 9, 2026 23:43
@changeset-bot

changeset-bot Bot commented Oct 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: acd577a

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

This PR includes changesets to release 2 packages
Name Type
@tanstack/vue-store Major
@tanstack/react-store Major

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

@crutchcorn
crutchcorn changed the base branch from main to alpha October 9, 2026 23:44
@nx-cloud

nx-cloud Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

View your CI Pipeline Execution ↗ for commit acd577a

Command Status Duration Result
nx affected --targets=test:sherif,test:knip,tes... ✅ Succeeded 3m 27s View ↗
nx run-many --target=build --exclude=examples/** ✅ Succeeded 9s View ↗

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

@coderabbitai

coderabbitai Bot commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

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 51ddb30 and acd577a.


⛔ 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.

@pkg-pr-new

pkg-pr-new Bot commented Oct 9, 2026

Copy link
Copy Markdown
@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

@crutchcorn
crutchcorn merged commit c9bef08 into alpha Oct 9, 2026
8 of 9 checks passed
@crutchcorn
crutchcorn deleted the vue-3 branch October 9, 2026 23:49
schiller-manuel pushed a commit that referenced this pull request Oct 10, 2026
chore: remove Vue 2 support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants