4 ms·
I agree with you, however the only way to really componentize (decouple) your css from the rest of the webapp is to use the shadowdom. In Web Components writin
by TeeWEE 11y ago
I agree with you, however the only way to really componentize (decouple) your css from the rest of the webapp is to use the shadowdom.
In Web Components writing specific CSS for a component is fine. And it wont pollute or over-rule your other css rules. Since its the shadowdom
- insin 11y agoOr you could use CSS modules: https://github.com/css-modules/css-modules https://github.com/css-modules/css-modules