Open tutecode opened 11 months ago
i am also facing the same issue ..
remove the fallback={
I'm having this error and I don´t know what could be.
Text is not allowed in the R3F tree! This could be stray whitespace or characters.
if tou have any text statement inside return statement of component then remove it.
I was able to resolve this by going through my components and removing whitespace. Maybe give that a try?
For all the users still getting this warning, just simply remove the comments and whitespace from all the Models files like Sky.jsx, Island.jsx, Bird.jsx, Plane.jsx and Fox.jsx
This will help in removing any kind of warning that is being generated due to whitespace or comments as the R3F tree mostly comes from our Models file
you need to carefully check for extra characters inside the tag. I had such an error. It turned out that inside
I'm having this error and I don´t know what could be.
Text is not allowed in the R3F tree! This could be stray whitespace or characters.