Curious, has anyone tried any kind of token / tag ...
# cfml-general
g
Curious, has anyone tried any kind of token / tag based server side rendering for Lit / Web Components in CF ?
g
I would like to know about the web components you are asking about?
g
Web components as in the HTML standards ones https://developer.mozilla.org/en-US/docs/Web/API/Web_components declarative shadow dom is still in progress, but say you want to render some kind of place holder before the JS is loaded ? Or bundle the JS based on the most commonly used components ? Some people suggest applying css to the web component tag.
Just food for thought
😀 1
I'm quite fond of pushing HTML and hydrating with JS, but limiting layout shift with placeholders that might even look like the real thing