Declarative Shadow DOM - Lit & Astro

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Are there any CSS considerations when using a shadow dom?

zebcode
Автор

I wonder why you didn't press the button once it had been hydrated. You showed that it had its shadow dom filled out, but not that the javascript was working (eg the button event handler).

davidmaxwaterman
Автор

What's with komplex data that had to be rendered, say you pass as attribute a string, or even a JSON that has to be parsed and render let's say a list of links

felixtoth
Автор

Astro can use DSD without Lit?
e.g.1. register tag from astro file to DSD
e.g.2. reuse this tag using js top of astro file
e.g.3. reuse this tag as a component in astro file like "<my-component />"

porco