-
I really don't understand css modules. I thought that I could "just" use the first top level element and the cascade in my comp.module.css would work. But no, it seems like I need to mirror the JS style prop against everywhere that I'd put a class…surely I've got this wrong?
-
Perhaps that problem is that I don't do CSS At Scale (quite note: the vast majority of devs aren't doing anything At Scale that these problems are supposed to solve), I just kind of want to import my CSS and it's scoped, and the cascade works and I don't need config.
-
So *this* is exactly the issue I've run into: github.com/vercel/next.js/issues/10475 I'm using nested css to avoid "class collisions" (which css modules purport to solve) - which to me seems pretty sensible, and yet css modules, specifically(?) doesn't let me use postcss nesting…
-
This morning is sponsored by confusion and frustration. They paid equally for my attention today.
