Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I would almost certainly never implement a UI as a render loop, but if you wanted to go down that path requestAnimationFrame is a much more idiomatic way to do it if you want to match the user's display refresh rate.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: