HTML 5 Canvas, React Refs and TypeScript
Refs in React have gone through several changes since their introduction. With the release of hooks in React 16.8, useRef became a handy way to interact with refs, especially in functional components. However, as TypeScript has come to dominate the J...
·6 min read·hashnode.blainegarrett.comRead the article
Sebastien Dubois
Thanks for sharing this excellent article!
I'm diving into <canvas> with React, and was wondering about how to leverage TypeScript. Now I have the answer, thanks to you! :)