Open MeoMix opened 9 years ago
Even if the goal can be consider equal, the means is totally different. I don't develop pure Web Components using the Shadow DOM (yet), but in my opinion, it is fare to be incompatible or exclusive.
I think they are a lot of things to try between them. However today I feel like ICSS gives me more flexibility that just Shadow DON. Specially in development because it gives me :
So you might compare ICSS with SCSS or LESS but not Shadow DOM because even if the goal can be consider equal, the means is totally different and the use is likely to be complementary.
Hey,
One of the main benefits of using CSS modules is the automatic namespacing of selectors which allows developers to worry less about selectors colliding unintentionally.
Web Components have been gaining a great deal of traction lately. They allow for burying CSS within the Shadow DOM. The Shadow DOM also provides the ability to encapsulate CSS such that collisions are less likely to occur.
I'm wondering if these two concepts are mutually exclusive or if they can/should be mixed into each other?