-
Notifications
You must be signed in to change notification settings - Fork 294
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
My code broke when I started using useRef in the ForceGraph component in Next.js 15 #551
Comments
@cruzmedien this is likely related to this from a different library: vasturiano/react-kapsule#14 However, if this is next.js specific, it's not clear what changed in next.js 15 that makes the behavior of |
I had to downgrade to Next.js version 14.2.17. With this version, everything works. It would be helpful to identify the issue with version 15. |
@cruzmedien are you able to do a simple reproducing example on codesandbox so we use it as a base to debug this further? That platform allows you to setup an app with next.js 15, so it should be reproducible. |
@vasturiano Hello, I created a small example here: codesandbox |
@cruzmedien thanks for making that example. I've applied a fix for this. If you upgrade to the latest version of the module ( |
Thank you very much. Now it works perfectly. I really appreciate the great support. |
Hello, I’m using the ForceGraph in a Next.js 15 project, but when I use a ref in the ForceGraph, I receive the error below. It seems like it’s re-rendering the reference infinitely or something similar. All my functionalities work, even the camera, but I get this infinite re-rendering in the console.
Here is my Code:
I would appreciate the help.
Originally posted by @cruzmedien in #324 (comment)
The text was updated successfully, but these errors were encountered: