Posts by Marcos Bahiense • 21 points
1 post
-
2
votes2
answers273
viewsA: What is the best way to call the requestAnimationFrame() method?
Both forms are correct, the intention to use the requestAnimationFrame is to prevent frame losses (Jank), by scheduling the execution of a code for the start of the next frame. The idea behind this…
javascriptanswered Marcos Bahiense 21