Re: [w3c/webcomponents] CSS Modules (#759)

@dandclark 

> Option 2 vs 3 would not behave differently in terms of the the styles that are applied.

Ok, this was my misunderstand then. I was expecting Option 3 to prevent a.css from being applied the second time. So if they are equivalent in that regard, I have no opinion on which is better.

I would love to see some future CSS feature that allows CSS modules to be used more similar to how JS modules are used, where all dependencies can be explicitly declared and applied only once.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/759#issuecomment-490919716

Received on Thursday, 9 May 2019 14:07:26 UTC