According to a fairly recent article (Feb 2020):
> 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.
I mainly develop using ASP.NET Core, with some vanilla JS as needed.
I'm just starting to hear about Web Components, and have heard that you can't use them with SSR because of the shadow DOM. I don't actually know what shadow DOM is, but does this mean no Web Components work with SSR, or that some don't? What precisely is the issue?