3 ms·
Excellent article. Most projects treat the client-side like a necessary evil and so I've seen pages with thousands of divs that can cause a hundred reflows for
by pestaa 14y ago
Excellent article. Most projects treat the client-side like a necessary evil and so I've seen pages with thousands of divs that can cause a hundred reflows for a single click. Not good, although at least it made the backend feel very fast in comparison!
And here's Kelly Norton's example code: http://kellegous.com/media/upload/2013/01/layout.js http://kellegous.com/media/upload/2013/01/layout.js
- yawgmoth 14y agoI really like that he included a reduced case of sample code. It really makes it easy to understand the differences in the solution. Also, that last line, that comment, heh.