Re:Enhance WASM: Back End Agnostic SSR for Web Components
by danielvaughn on Thursday April 11, 2024 @02:50PM
(#40005484)
I'd never thought of this but you're totally correct. The only way to encapsulate styles within a shadow dom is to create that style tag (or use the CSSOM to generate a CSSStyleSheet), but either way it's the same outcome. The styles themselves are copied to each individual instance. Yuck.
[ Parent
| on HN ]