JavaScript Animations — Element.animate vs requestAnimationFrame vs Conventional Animation

Vilva Athiban P B
2 min readSep 16, 2018

Animations have become an inseparable part of the web. Though it has a positive effect on the UX, it undeniably affects the performance when not implemented properly. In this article, we will compare and contrast the three ways of animations using JavaScript.

Conventional Animations

--

--

Vilva Athiban P B

9+ years of Experience in React-Redux / NodeJS / GraphQL / TypeScript. https://vilvaathiban.com