News for hackers. Stuff that matters.
Re:On Layout and Web Performance by pestaa on Monday January 28, 2013 @09:03AM (#5128493)
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

Re:On Layout and Web Performance by yawgmoth on Monday January 28, 2013 @03:07PM (#5130358)
I 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.