Web features explorer

requestAnimationFrame()

Widely available since 2018-01-29
Tags: api

The requestAnimationFrame() method schedules a function that runs before the next repaint. You can use it to animate content with JavaScript.

Learning resources on MDN

Browser support (view on caniuse.com)

Specifications