DEV Community

Discussion on: Why I moved from Styled Components to (S)CSS modules

Collapse
 
astrit profile image
Astrit

In few months you are going to write another article how I moved from SCSS to pure CSS 😂

Nonetheless great article and thorough explanation, thanks 🙏

Collapse
 
puruvj profile image
PuruVJ

I might. Who knows 😉😉!! I only use SCSS for nesting, but with CSS modules even that isn't needed much, as the files are less than 60 lines big and most don't have any nesting in them

Though Vite has such a first class support for SCSS that moving to plain CSS won't be any hassle. I could do the whole thing in 2 hours :P

Collapse
 
hypejunction profile image
Ismayil Khayredinov

You can use PostCSS to deal with nesting and do a lot more