Join Nostr
2024-10-04 09:13:24 UTC

Patrick Brosset on Nostr: Declarative Shadow DOM allows you to create your component's shadow DOM from HTML ...

Declarative Shadow DOM allows you to create your component's shadow DOM from HTML rather than JavaScript, making server-side rendered components possible.

(bonus: it's now in all browsers, since earlier this year).

A problem we've heard web devs talk about is the inability to share styles though. State of HTML 2023 gave pretty signals on this.

My Microsoft Edge colleagues have solution proposals for this!
➡️ https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/ShadowDOM/explainer.md

We'd love your feedback! Feel free to open issue on the repo.