Web platform 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)

Usage (according to Chrome Platform Status)

~50.963% of page loads. More data at chromestatus.

Specifications