-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Breaking changes in React experimental branch #3222
Comments
Thanks for looking out. We're aware of this and plan to upgrade our reconciler alongside React 19 with our v9 release. I can make a PR for this shortly. |
You're probably already aware of this, but adding my findings in case not. When trying React v19 on my personal site with a couple R3F sketches, they fail at runtime during dev with
And at build time with
Let me know if there's any way I can help! |
React 19 is a breaking change and requires an upgrade for libraries to support it, with renderers requiring an extensive refactor and type changes. For R3F and the rest of the pmndrs ecosystem, we can't release support to stable until React 19 itself is out, which is frozen in RC due to unintended regressions with suspense and reconciliation. You can find a v9 alpha of R3F that supports React 19 as of the last RC with a migration guide, but I would not expect any haste in the ecosystem due to the lack of a timeline for React 19 stable. If you have any feedback during testing, I'd appreciate it in #2338, where we're tracking the v9 milestone. This issue has since been resolved, and am tracking minor cleanup upstream in facebook/react#28956. |
Is there any workaround to use @react-three/fiber with Next.js 15? I tried installing @react-three/fiber@9.0.0-alpha.8, but I'm encountering same issues. Specifically, I get warnings about unmet peer dependencies for react and react-dom, which require versions that aren't currently available,
|
@JehadurRE have you tried It seems that some users are having success with that and Next.js 15: |
React is preparing changes, including some breaking, for the next major release. There are changes to the Reconciler that break
@react-three/fiber
.To repro:
sandbox: https://codesandbox.io/p/sandbox/react-three-fiber-experimental-9hqh35
To prepare for the new versions,
@react-three/fiber
should build against the latest changes by upgradingreact-reconciler
, which requires new methods since 0.27.0. See allThe text was updated successfully, but these errors were encountered: