-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
feat: support React 19 #10745
feat: support React 19 #10745
Conversation
⚡️ Lighthouse report for the deploy preview of this PR
|
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site configuration. |
Size Change: +73.7 kB (+0.65%) Total Size: 11.3 MB
ℹ️ View Unchanged
|
Size Change: +76.7 kB (+0.65%) Total Size: 11.8 MB
ℹ️ View Unchanged
|
This might be a stupid question, but how do I manage to use react 19 in my repo when all docusaurus packages define this: https://github.com/facebook/docusaurus/blob/main/package.json#L116C16-L116C22 We have a monorepo with docusaurus in there, and I am getting peer dependency issues |
@CumpsD the link you provided is not a "Docusaurus package", it's the root of our monorepo that still uses React 18 in some parts (notably unit tests) The v3.7 packages published on npm have "peerDependencies": {
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
}, https://github.com/facebook/docusaurus/blob/main/packages/docusaurus/package.json#L95
If you don't share your Docusaurus version, and what those issues are, I can't help much. |
Closed, replaced by retro-compatible PR that allows using React 19 in Docusaurus v3.x (#10763)
Motivation
Draft PR to see what it takes to upgrade to Docusaurus v19
We'll merge it only for Docusaurus v4, alongside other breaking changes
Test Plan
CI
Test links
https://deploy-preview-10745--docusaurus-2.netlify.app/