Why You Should Avoid Sass @extend

  1. Nope, you do not suffer from any performance drawback with lists of selectors. The performance bottleneck is having to find a selector deeply nested for the parser because it goes from right to left. So for instance .a .b .c would mean finding all .c elements, then filtering them to keep only the one in a .b element. Then filter them to keep only those within a .a element, and so on. You don’t have to do this with lists of selectors since they are completely unrelated.

  2. You’re obviously doing things wrong then. :wink: