terribleMia’s avatarterribleMia’s Twitter Archive—№ 8,584

    1. People talk about "selector performance" like they're not shipping entire JS frameworks in order to render html. You *can* cause performance issues with CSS. It takes more than using a "bad" selector somewhere. Be very skeptical of absolute rules based on extreme cases.
  1. …in reply to @TerribleMia
    How do you cause performance issues with CSS? There are some general answers: like causing re-flow is more expensive than not causing re-flow. But the details change **constantly**, & there are always tradeoffs. Don't trust an answer from six months ago without testing it.
    1. …in reply to @TerribleMia
      Shipping code is a massive performance hit. I don't recommend it.