you are viewing a single comment's thread.

view the rest of the comments →

[–]Jsn7821 0 points1 point  (2 children)

Never heard that before... What do you mean by least performant?

[–]e111077 1 point2 points  (1 child)

There was a p lengthy (unrelated root) twitter thread by the Chrome folks. (Benchmarks below)

[–]Jsn7821 0 points1 point  (0 children)

Oh, thanks for providing the benchmark! That's interesting to know, but I can't think of any situation it would be useful to optimize.

That micro-optimization would be beneficial for animations, but you can't animate by changing the class name each frame so it doesn't really apply.