#useLoader makes render component twice
5 messages · Page 1 of 1 (latest)
5 messages · Page 1 of 1 (latest)
loading textures like below makes render component twice. Even sibling components with no loader render twice when one component with it exists. How to solve it?
const gradient = useLoader(THREE.TextureLoader, "./gradient-01.png");
console.log("render")l
may be create a sandbox..so we can solve simultaneously