Re:If Web Components are so great, why am I not using them?
by lenkite on Wednesday August 02, 2023 @09:12PM
(#36980098)
We had HTML imports and they got rid of it. No JS means No Ads.
[ Parent
| on HN ]
Re:If Web Components are so great, why am I not using them?
by no_wizard on Wednesday August 02, 2023 @09:30PM
(#36980236)
It means less invasive tracking really, not no ads.
Ironically it was Firefox that killed it, not Google. Google was all in on HTML imports. It would have also given a non JS way to dynamically load HTML. Streaming would have been great with this.
Re:If Web Components are so great, why am I not using them?
by adjav on Wednesday August 02, 2023 @10:50PM
(#36980802)
HTML imports required JS to be used - otherwise all you had was a `link`ed DOM tree that you couldn't access. No one has really proposed a way to dynamically load anything without JS AFAIK.