"RangeError: Maximum call stack size exceeded" when using GLTF Loader #875
-
Hi everyone, I'm trying to load a GLTF model in Gatsby but I get the error stated in the title when using
Could there be an infinite loop I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
`import React,{ useRef} from 'react' function Loader(props ){ export default Loader;` |
Beta Was this translation helpful? Give feedback.
-
My bad, I shouldn't have named my component "Object", changing the name fixed the issue |
Beta Was this translation helpful? Give feedback.
My bad, I shouldn't have named my component "Object", changing the name fixed the issue