AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
Server Side Rendering of a Web Component
Lid SSR is a package in our labs program called Lid. It essentially like shims the existence of the HTML element base class and the like custom element registry, but it does not build up a tree of DOM elements. We try to take advantage of the fact that Lid templates are already just strings. So when you go to SSR Lid component, it'll just start streaming strings out to the HTTP server right away. And yeah, no DOM DOM APIs needed for that.