3 ms·
Are you recommending an app imposed rendering timer (say 15ms) or is there an in built API for Opportunistic scheduling of Dom updates?
by writepub 8y ago
Are you recommending an app imposed rendering timer (say 15ms) or is there an in built API for Opportunistic scheduling of Dom updates?
- ergl 8y agoYou might want to check out this thread from last week[0] about scheduling tasks when the event loop is idle. The author also published a library for it[1] [0]: https://news.ycombinator.com/item?id=18030848 https://news.ycombinator.com/item?id=18030848 [1]: https://github.com/GoogleChromeLabs/idlize https://github.com/GoogleChromeLabs/idlize