Re:React Renderer for Three.js
by onion2k on Sunday August 15, 2021 @04:57PM
(#28192478)
The useRef hook doesn't return a ref. It returns a function for setting the ref value. The value is in ref.current. The ref prop calls the setter with a ref to the element on mount.
[ Parent
| on HN ]
There are no comments on this comment yet.