Comment

Comment by emmacharp

How is that better than enclosing CSS in a component file with a class as first selector?

I see that bad developers could make mistakes, but besides that, which is kind of easy to lint, the only advantage I see is the need to maintain only one file instead of two.

What do I get wrong?

edit: syntax

parent emmacharp 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton