2 ms·
I've found that the use of documentFragment elements can provide an easy way to avoid reflows. They're easy to use, you can build your stuff on the side and the
by Veejay 13y ago
I've found that the use of documentFragment elements can provide an easy way to avoid reflows. They're easy to use, you can build your stuff on the side and then insert the fragment somewhere in the DOM as needed.
https://developer.mozilla.org/en/docs/Web/API/DocumentFragment https://developer.mozilla.org/en/docs/Web/API/DocumentFragme...