Juan Ignacio Dopazo (2013-08-08T13:39:22.000Z)
domenic at domenicdenicola.com (2013-08-12T05:28:02.024Z)
2013/8/8 David Bruant <bruant.d at gmail.com> > I'm having a hard time understanding "before the browser renders again". > I'm afraid this is a asking for laggy UIs if there is the least bug. I > would rather recommend the following approach: play with "abstract" data > (regular objects/arrays, etc.) in tasks/microtasks and update UI (DOM, > Canvas, SVG, etc.) in requestAnimationFrame callbacks. That's precisely what we want to do and why we need a mechanism for scheduling code to run in the next task/microtask.