Declarative Shadow DOM - What is it?

preview_player
Показать описание
In this demonstration of Declarative Shadow DOM we look at how to create a ShadowRoot without using the imperative Javascript API call attachShadow. For sites that use SSR or are statically generated the use of the imperative API is not possible. This new experimental Declarative Shadow DOM provides the ability to use Web Components in these Server Side scenarios. The imperative API requires to be run on the client as as such does not lend itself well to these Server Sides cases.

P.S Just joined buy me a coffee :-)
Рекомендации по теме
Комментарии
Автор

Great video! One thought though if I may. I wondered why you just glossed over the JS methods without saying what they do and why we need them. I wish you had said the Shadowroot is x and we use it like this because and then we could do this because or that, but using Shadowroot is best because etc etc. Just a thought, not a criticism at all.

misterhtmlcss
Автор

If the title is "What is Shadow DOM", could be a good topic to discuss in the video :)

bretweinraub
Автор

What not call it see me doing stuff video!!

ashishsutariya
Автор

What not call it see me doing stuff video!!

ashishsutariya