• Lionir [he/him]@beehaw.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I mean, for me, the greatest pro I’ve heard for the usage of Tailwind is that it makes collaboration much easier. For example, a PR to add styling to a component is easy to read - you just see the new classes added. Not only that but you know that it only affects that element and that no CSS is still being kept in your CSS files that is no longer being used.

    The cascade is seen by some as one of the most annoying parts of CSS at times because it can make debugging harder - and many will simply abuse !important as a result.

    • Paradox@lemdro.idOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 year ago

      I’d argue that styled components, like Vue SFCs or Surface-ui, are even better in this regard. You can see the whole component there, and all the classes along for the ride. And they’re usually written in something fairly close to “real” CSS