Skip to content
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

chore: Use React 19 RC #563

Merged
merged 4 commits into from
May 18, 2024
Merged

chore: Use React 19 RC #563

merged 4 commits into from
May 18, 2024

Conversation

franky47
Copy link
Member

@franky47 franky47 commented May 18, 2024

There's now a peer dependency on the latest Next.js canaries onto React 19, so until it is officially released, we'll have to use the rc dist tag.

Unfortunately, React 19 types don't export the cache experimental feature, which Next.js embeds. So we have to cheat a bit with TypeScript here.

This fixes the canary test build. There are no public changes to deps in nuqs, so intermediary releases until Next 15 / React 19 are published should be possible without breaking semver in dependent apps.

There's now a peer dependency on the latest Next.js canaries onto React 19,
so until it is officially released, we'll have to use the `rc` dist tag.

Unfortunately, React 19 types don't export the `cache` experimental feature,
which Next.js embeds. So we have to cheat a bit with TypeScript here.

This fixes the canary test build. There are no public changes to deps in `nuqs`,
so intermediary releases until Next 15 / React 19 are published should be possible
without breaking semver in dependent apps.
Copy link

vercel bot commented May 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuqs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 18, 2024 8:36pm

@franky47 franky47 marked this pull request as ready for review May 18, 2024 21:01
@franky47 franky47 merged commit 9206d5c into next May 18, 2024
15 checks passed
@franky47 franky47 deleted the chore/react-rc branch May 18, 2024 21:02
Copy link

🎉 This PR is included in version 1.17.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant