developit / developit/preact-cycle
setTimeout vs. requestAnimationFrame?
Open
enhancement
question
- Dominant language
- JavaScript
- Stars
- 143
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
hey just wondering if there was any reason you went with a setTimeout in the renderer here? just out of simplicity?
I'm thinking requestAnimationFrame might be a bit better (to render on the paints) but i'm not sure if setTimeout was a deliberate decision or not.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.