Skip to content

feat: Add react@19 to supported peer deps #893

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

ddolcimascolo
Copy link
Contributor

No description provided.

Copy link

nx-cloud bot commented Dec 6, 2024

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 08f147e. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 2 targets

Sent with 💌 from NxCloud.

Copy link

pkg-pr-new bot commented Dec 6, 2024

Open in Stackblitz

More templates

@tanstack/angular-virtual

npm i https://pkg.pr.new/@tanstack/angular-virtual@893

@tanstack/lit-virtual

npm i https://pkg.pr.new/@tanstack/lit-virtual@893

@tanstack/solid-virtual

npm i https://pkg.pr.new/@tanstack/solid-virtual@893

@tanstack/react-virtual

npm i https://pkg.pr.new/@tanstack/react-virtual@893

@tanstack/svelte-virtual

npm i https://pkg.pr.new/@tanstack/svelte-virtual@893

@tanstack/virtual-core

npm i https://pkg.pr.new/@tanstack/virtual-core@893

@tanstack/vue-virtual

npm i https://pkg.pr.new/@tanstack/vue-virtual@893

commit: 08f147e

@piecyk piecyk merged commit b159e85 into TanStack:main Dec 6, 2024
5 checks passed
RobinMalfait pushed a commit to tailwindlabs/headlessui that referenced this pull request Dec 12, 2024
`@tanstack/react-virtual` added peer deps support for React 19 in
[v3.11.0](https://github.com/TanStack/virtual/releases/tag/v3.11.0)
(TanStack/virtual#893)

This PR upgrades the packages. This can resolve some warnings on some
React 19 projects, e.g.:

```
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @tanstack/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react
npm warn   peer react@"^18 || ^19 || ^19.0.0-rc" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn     @headlessui/react@"^2.2.0" from the root project
npm warn   15 more (@floating-ui/react, @floating-ui/react-dom, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn   @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react
npm warn   peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn   node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn     @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn     node_modules/@headlessui/react
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @tanstack/[email protected]
npm warn Found: [email protected]
npm warn node_modules/react-dom
npm warn   peer react-dom@"^18 || ^19 || ^19.0.0-rc" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn     @headlessui/react@"^2.2.0" from the root project
npm warn   5 more (@floating-ui/react, @floating-ui/react-dom, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn   @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn   node_modules/@headlessui/react
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/react-dom
npm warn   peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/[email protected]
npm warn   node_modules/@headlessui/react/node_modules/@tanstack/react-virtual
npm warn     @tanstack/react-virtual@"^3.8.1" from @headlessui/[email protected]
npm warn     node_modules/@headlessui/react
```
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