Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
throwitaway1123
on Aug 17, 2024
|
parent
|
context
|
favorite
| on:
VanillaJSX.com
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: