@rakina yes, exactly. Like what is the proper way to construct this and the developer ergonomics - how are we going to recommend developers use this?
- globally (or scoped to module) - ie. outside of the custom element (as in your example) which means that just importing a web component will end up constructing the CSS before it is being used
- as part of a static getter or similar that can be called in the constructor / connectedCallback
- other solutions?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/308#issuecomment-443635614