News for hackers. Stuff that matters.
Re:CSS Utility Classes and “Separation of Concerns” (2017) by andrethegiant on Saturday November 16, 2019 @07:25PM (#21555804)
This is why CSS-in-JS solutions outshine utility classes IMO – if you deal with stylesheets directly, it's hard to avoid treating CSS as append-only files that grow linearly with the size of your codebase. With CSS-in-JS, on the other hand, the styles get generated for you, at a size that grows logarithmically to the size of your codebase (style rules of the same value get pulled into their own deduped classes).

There are no comments on this comment yet.