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

The 3d graph suddenly hops or flickers at regular intervals #514

Open
MahithaSann opened this issue May 14, 2024 · 2 comments
Open

The 3d graph suddenly hops or flickers at regular intervals #514

MahithaSann opened this issue May 14, 2024 · 2 comments

Comments

@MahithaSann
Copy link

I have created a graph using React force 3D and the graph suddenly hops or flickers at regular intervals. help me solve the issue.

@vasturiano
Copy link
Owner

@MahithaSann please provide a simple reproducing example, on https://codesandbox.io/ for instance.

@lalalune
Copy link

For the record, I had this problem and found that the issue was caused by regenerating the graph in my render function on accident. The graph needs to be held in a React state variable and not generated in the JSX return.

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

No branches or pull requests

3 participants