Hacker News new | ask | show | jobs
by kevincennis 4665 days ago
Well, it's fewer DOM manipulations, right? Touch a single style element vs updating a bunch of them.
1 comments

It's fewer DOM manipulations from Javascript yes. The browser will still internally change the styles associated with the DOM elements, just without the JS overhead.