Replies: 1 comment 1 reply
-
Did you figure out this issue? I am having a similar issue, re-rendering occurs when useLoader() is computed. |
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.
-
Hi everyone,
I'm experiencing an issue with my fbx, it seems to re-render (at least 3 times) whenever states change.


I try to fix the problem by useMemo and caching but it doesn't work.
When I console.log rotation in useFrame, I notice my saturnRef.current.rotation resets to 0 every time I click on the navigation but not the ref.current.rotation (maybe correctly useMemo used).
Is any solution available? Thanks for your time
.
Beta Was this translation helpful? Give feedback.
All reactions