What is rAF - How to Use requestAnimationFrame()

Subscribers:
58,000
Published on ● Video Link: https://www.youtube.com/watch?v=1dBTa5XgLxc



Category:
Tutorial
Duration: 8:09
9,169 views
200


Learn more advanced front-end and full-stack development at: https://www.fullstackacademy.com

requestAnimationFrame() or rAF is a method for running animations in the browser. It takes a callback as an argument and allows you to render new changes to the DOM based on the function that you invoke it with. In this tutorial, we talk about what is rAF, how to use it, and we give a live code example where we animate an SVG created with Raphael.js.

Watch this video to learn:

- What is rAF
- The rAF recipe
- Code examples using requestAnimationFrame()







Tags:
rAF
requestAnimationFrame
How to Use requestAnimationFrame()