-
-
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
Add a warning about the latest next/react version? #3401
Comments
I'm having the same issue. I'm trying to update to nextjs 15, but getting an error with the react-reconciler. "TypeError: Cannot read properties of undefined (reading 'ReactCurrentOwner')". Any update on this? |
Same issue here any udpates would be amazing. Thanks! |
Hi everyone, the problem isn't Next 15 exactly but React 19. A lot of libraries will have similar issues when upgrading from one React major to another. To get R3F working with React 19 you can use our RC: https://www.npmjs.com/package/@react-three/fiber/v/9.0.0-rc.1 @verekia also made a useful set of tests for various combinations of libraries: https://github.com/verekia/three-gpu-ecosystem-tests |
A warning has been added to the readme! |
Please correct me if wrong, but it seems like r3f doesn't like using the very latest next js. Could I suggest updating the getting started/installation page on the website to reflect this? I just spent ages going back and forth before figuring out I should not be doing npx create-next-app@latest but rather use a 14.x.x version instead.
The text was updated successfully, but these errors were encountered: