3 ms·
I mostly agree. I prefer vanilla CSS to frameworks but I find a lot of value in CSS modules. In particular I use: 1. The `composes` feature to do something li
by tyleo 11mo ago
I mostly agree. I prefer vanilla CSS to frameworks but I find a lot of value in CSS modules.
In particular I use:
1. The `composes` feature to do something like base classes.
2. The import feature to get something like namespacing.
Given the recent advancements in CSS, I won’t be surprised if they eventually build something like `composes` into the base language.
The namespacing seems more like an artifact of how you package your website and how you stay organized within your package system (I use webpack).