Can we useRef, but without the .current? Let's try!

from blog Vladimir Klepov as a Coder, | ↗ original
Ah, ref.current. Everybody knows that I love useRef — I've built custom useMemo with it, and I've used it instead of useState to optimize re-renders. But typing ref.current over and over is just annoying. Come on, Vladimir, startX.current is just the same as this.startX in a class, I told myself a million times, but it just doesn't work. I think...