5 ms·
I have yet to encounter a scenario where Web Components or Shadow DOM are important for a big app like that where you own the stack. Their value is in creating
by chrismorgan 1y ago
I have yet to encounter a scenario where Web Components or Shadow DOM are important for a big app like that where you own the stack. Their value is in creating components third parties can use, which can operate in a moderately hostile environment successfully. First parties have no need of them: React/Svelte/Vue/flavour-of-the-month is strictly better for first party components, and Shadow DOM is quite inappropriate.
- dtagames 1y agoThat's strange because all the notable implementations of web components that I'm aware of are first party. YouTube, Discord, Slack, Adobe. MS and Alaska Airlines released libraries (in Lit) but does anyone use them? I think the real value is for first-party complex UIs. The other folks are using React & Friends.