Posted on 2020-05-14T06:14:20Z by Kevin Foong
So what is requestAnimationFrame?
requestAnimationFrame is a method that provides a callback, typically to the function it is in, to create a recursive loop that can achieve up to 60 frames per second.
I've created a very simple growing box animation in Vue to demonstrate.
Some key points,
.. more ..