Y
Hacker News
new
|
ask
|
show
|
jobs
by
jw1224
615 days ago
Unlike setTimeout, requestAnimationFrame callbacks are automatically skipped if the browser viewport is minimized or no longer visible. You wouldn’t want to miss the frame that matters!
1 comments
chii
615 days ago
also, not to mention that setBigTimeout would still work in serverside js, while requestanimationframe doesn't!
link