by barryhoodlum · 9y ago · 0 comments
You are then not scared of changing existing classes, as they are so simple. In fact you rarely have to change them after writing them the first time. Often you can build a whole new component without writing any new CSS.
It works especially well with components, as it's OK if the HTML is "noisy" with many class names, as generally you're not dealing with large chunks of HTML at once.
Really not a fan of CSS-in-JS. I like to keep my components JS+JSX only.