const mesh = useRef()
...
<mesh ref={mesh} ...
You'll be rendering an undefined element (before the ref has a chance to attach).Also, the TypeScript example makes me head hurt.
const ref = useRef(null!)
Ah, yes. A non-null null literal....no, no, definitely not. Must've gone crazy for a second there.
How many people do you think follow that twitter account?
Even if half the citizens have prior knowledge of a case, you'd just pick the jury out of the other half.