DEV Community

Discussion on: How to display 3D humanoid avatar with React

Collapse
 
drcmda profile image
Paul Henschel

nice tutorial, never heard of vrm before, this will be useful!

saw a tiny glitch, some objs are initialized in a useRef, they get re-created every render. better do: const [myObj] = useState(() => new THREE.Something()), this is guaranteed to be created only once.

Collapse
 
saitoeku3 profile image
Tadao Iseki

Thanks for your excellent comment! I just try it now :D