27 ms·
thank you; these are good, specific examples. #2: maybe i'm misunderstanding, but i think frameworks can implement SSR on top of vanilla components, for instan
by woodrowbarlow 3y ago
thank you; these are good, specific examples.
#2: maybe i'm misunderstanding, but i think frameworks can implement SSR on top of vanilla components, for instance in Lit: https://lit.dev/docs/ssr/overview/ https://lit.dev/docs/ssr/overview/
- troupo 3y agoIf you need framework-specific solutions to do SSR for web components... they are no better than existing solutions without them. Lit solution also lists a lot of caveats including things like "only Lit elements using Shadow DOM can be SSR'ed" and "element registry needs to be solve for interop with other custom elements" (that is, there's an issue on the standards level)
- troupo 3y agoI've written a more extended response in a different thread here: https://news.ycombinator.com/item?id=37158524 https://news.ycombinator.com/item?id=37158524