---
title: "Discussion on \"Using requestAnimationFrame for JavaScript animation on the Web\" | Hashnode"
description: "Discussion on \"Using requestAnimationFrame for JavaScript animation on the Web\". It took me time to grasp the concept behind the requestAnimationFrame method. So I will briefly explain how to use requestAnimationFrame in web animations. Before then, let us understand how this method came to be and its advantages/uses.\nWhat is ani..."
url: "https://hashnode.com/posts/using-requestanimationframe-for-javascript-animation-on-the-web/6371d627fb40eef9d39b7936"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using requestAnimationFrame for JavaScript animation on the Web](https://devct.hashnode.dev/using-requestanimationframe-for-javascript-animation-on-the-web?utm_source=hashnode&utm_medium=feed)

It took me time to grasp the concept behind the requestAnimationFrame method. So I will briefly explain how to use requestAnimationFrame in web animations. Before then, let us understand how this method came to be and its advantages/uses. What is ani...

Nov 14, 2022 · 4 min read · devct.hashnode.dev  
Read the article

-   [#web-animation](https://hashnode.com/tag/web-animation)
-   [#repaint-and-reflow](https://hashnode.com/tag/repaint-and-reflow)
-   [#cancelanimationframe](https://hashnode.com/tag/cancelanimationframe)
-   [#javascript-animation](https://hashnode.com/tag/javascript-animation)
-   [#requestanimationframe](https://hashnode.com/tag/requestanimationframe)

## Written by

[Chukwuemeka Timothy Ofili](https://hashnode.com/@KodeNavigator)

@KodeNavigator

  
[View profile](https://hashnode.com/@KodeNavigator)

I'm a frontend engineer with a knack for building beautiful and animated user interfaces.

## Responses 1

Markdown supported · ⌘↵ to post

[Victoria Adedayo](https://hashnode.com/@Vickish)

[Nov 16, 2022](https://hashnode.com/posts/using-requestanimationframe-for-javascript-animation-on-the-web/6371d627fb40eef9d39b7936/comment/63747ce010b5395b66fa5abb)

Thank you. I am curious as to how this would work in a large project. **Bookmarked!** I will try it out soon.

[Chukwuemeka Timothy Ofili](https://hashnode.com/@KodeNavigator)

[Dec 16, 2022](https://hashnode.com/posts/using-requestanimationframe-for-javascript-animation-on-the-web/6371d627fb40eef9d39b7936/comment/63747ce010b5395b66fa5abb#reply-639c346b052fc36d4a8f2d0c)

Yeah, it's really cool😎
