Post

"converting some of your React components over to standard web components" that sounds interesting - do you have an example for that? I am curious on the performance impact and how that would look like in SSR

so instead of <p>Hello, <span>Jake</span></p> we will have <greet-person> <template shadowrootmode="open" shadowrootserializable=""> <p>Hello, <slot></slot></p> </template> <span>Jake</span> </greet-person> would that happen for every component?

If you want SSR with elements that can be rehydrated, yeah. Well, if you turn off the server side and output the HTML, it can be static, and perhaps bloated compared to just using a server template system. I think the main idea is that this format satisfies all possibilities.

And for example, once we have Declarative Custom Elements, then we can ship client-only custom elements that can also be generated from PHP, Rust, or any other language. The Shadow DOM templates will be the common language.