This latter looks good, I hadn't seen that before.
As a possible successor to React, Vue, et al, there's a wide range of functionality expected of Web Components. Server-side rendering of shadow DOM (I don't know what that really means, but) seems to be one of the tough questions yet to find a definitive answer.
> It's a common myth that you can't server side render Web Components. Turns out you can if you look in the right place.
https://dev.to/steveblue/server-side-rendering-web-component...
The article mentions a few libraries for this purpose.
- Vaadin Router - https://vaadin.com/router
- SkateJS - https://skatejs.netlify.app/
- SkateJS: Web component server-side rendering - https://github.com/skatejs/skatejs/tree/master/packages/ssr
This latter looks good, I hadn't seen that before.
As a possible successor to React, Vue, et al, there's a wide range of functionality expected of Web Components. Server-side rendering of shadow DOM (I don't know what that really means, but) seems to be one of the tough questions yet to find a definitive answer.