Better Understanding of Timers in JavaScript: SetTimeout vs RequestAnimationFrame
Published in
6 min readOct 30, 2019
These days, JavaScript timer functions are widely being used by many projects. They are especially so useful when you want to delay some functions back to after other functions are executed.
In this post, I will talk about each timer functions in JavaScript, and how to or when to use them. Also lastly, I will give you a…