Continous Re-Render at application startup #3382
Unanswered
SrinivasPrabhu794
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
In this minimal code block below, I am trying work with Flux.ai's Thomas Text engine and have written a simple App.js to render 6400 text. This works well and shows all the text on the scene correctly.
The strange part here is that at startup the Text2DScene re-renders three times. If I return a simple drei component like instead of SDFTextProvider then it just renders once. But this re-rendering is happening inspite of not having any state changes in this component or anything obvious. Am I missing something here ?
I created this code snippet as a replica of a part of my bigger app which has these constant re-renders at startup of all the components nested under component. I am new to r3f and any help would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions