wilsonpage / fastdom

Eliminates layout thrashing by batching DOM measurement and mutation tasks
6.85k stars 240 forks source link

Helpful document fragments #116

Open Mapiac opened 5 years ago

Mapiac commented 5 years ago

An interesting resource article on latest Chrome optimizations and rendering.

Felt like it belonged here as a helpful reference for those so inclined to read it, particularly the comments.

Seems some say documents fragments are faster and the way to go based on Chrome render speed, other suggest to still batch reads and writes.

https://coderwall.com/p/o9ws2g/why-you-should-always-append-dom-elements-using-documentfragments