Quantcast
Channel: Recent Writing - Mark Story
Viewing all articles
Browse latest Browse all 126

Server rendered components with template fragments and webcomponents

$
0
0
As I use webcomponents more, I found myself wanting a way to define the HTML for webcomponents with a non-trivial amount of light DOM contents in a more reusable programatic way. So far, I’ve found that modelling webcomponents as template fragments is a reasonably ergonomic solution. It enables usage such as:

Viewing all articles
Browse latest Browse all 126

Trending Articles