Direct link to the article Using requestAnimationFrame with React Hooks

Using requestAnimationFrame with React Hooks

Animating with requestAnimationFrame should be easy, but if you haven’t read React’s documentation thoroughly then you will probably run into a few things that might cause you a headache. Here are three gotcha moments I learned the hard way.

TLDR

Avatar of Hunor Márton Borbély
Hunor Márton Borbély on (Updated on )