Replies: 1 comment 1 reply
-
I've only had a quick look, so this could be wrong, but it looks like an infinite loop. In CubeMesh's useEffect callback, you're calling updatePosition, which in turn is causing the component to re-render, which makes the useEffect run again, which calls updatePosition again, etc. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions