top | item 47030290

(no title)

halfcat | 14 days ago

Cognitive load of looking at 12 open files trying to understand what’s happening. Well, in fairness some of those 12 are the same file because we have one part for the default CSS and then one for the media query that’s 900 lines further down the file.

discuss

order

bobthepanda|14 days ago

Css modules gets away from the larger sins of the massive global css files.

If modules had existed much earlier it probably would’ve gotten rid of most of the awfulness.

agos|13 days ago

CSS Modules are way older than Tailwind, but alas it was not enough

UqWBcuFx6NV4r|13 days ago

Oh, great. So let’s just 2x all our files then! All for, what exactly?

It sounds like you just want to write Java.

dbbk|13 days ago

What do you mean 12 files? It’s 2 files. One for your component and one for its styles module.