3 ms·
layout and rendering can happen asynchronously in background threads, but you have to carefully structure your JS code to not read back layout properties any ti
by the8472 8y ago
layout and rendering can happen asynchronously in background threads, but you have to carefully structure your JS code to not read back layout properties any time soon after modifying the dom, otherwise it will block and turn everything back into sequential execution