Re: [whatwg/dom] Declarative Shadow DOM (#831)

> I hear you but we need a list of concrete use cases that support this argument.

* Every Wordpress/Joomla/Drupla/Typo3 Plugin out there that features a contained frontend component
* Every time CSS preprocessors are used to implement things like BEM http://getbem.com/introduction/
* Every JS library that features standardized frontend componenets such as jQuery (yes, people still use that a lot) plugins or things like Ionic or Framework7

I would inverse the argument. Unless you have a self-contained SPA or very simple web page without logical components, containing styles and controlling if you inherit the surrounding context is a huge thing, aka it is useful for most of the web, not just some of it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/831#issuecomment-599413095

Received on Monday, 16 March 2020 08:45:33 UTC