Get the latest tech news
Isomorphic Web Components
The lack of server-side rendering in web components has become a sort of folk belief that oft goes unquestioned. I am happy to report that the fears are unfounded.
The lack of server-side rendering has become a sort of folk belief that oft goes unquestioned, and many people form opinions based on this (alleged) missing feature. So from a pedantic point of view, server-side rendering a web component is trivial: just put a<template> or a<custom-element> tag in your markup. Rather than declaring that attachment point in a separate JavaScript file, though, you can do it directly in your HTML markupBlinded By the Light DOMI only recently had a breakthrough about using web components, and now I quite like them.
Or read this on Hacker News