If you were to use DOM emulation on the server and then send down the resulting HTML then the…
Patrick Steele-Idem
2

The element would exist in the DOM. It would contain the template markup (that’s how they work client side as well).

Ex:

<x-foo><div>Hello World!</div></x-foo>

So lifecycle callbacks will still work. I’ll demonstrate in Part 2 which comes out tomorrow.

Like what you read? Give Rob Dodson a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.