But I really wish there were an HTML-native way to load <template> from separate files, the same way we do with CSS and JS. Not a show-stopper, but it’d be very nice to have.
But I really wish there were an HTML-native way to load <template> from separate files, the same way we do with CSS and JS. Not a show-stopper, but it’d be very nice to have.
Seems like the JS folks blocked this from happening. It's weird to me to think we've arrived at the point where JS considerations have come to dominate for something that was built to be a document sharing platform.
[1]: https://github.com/WICG/webcomponents/blob/gh-pages/proposal... [2]: https://web.dev/css-module-scripts/
spankaalee: not true, they were removed because.... they were't compatible with JS
---
goatlover: JS considerations have come to dominate for something that was built to be a document sharing platform.
spankalee: here are two proposals which are... Javascript-only, don't work without javascript, and add more Javascript to the platform
---
¯\_(ツ)_/¯
Not JS. Chrome, and their decade-old crusade to make web components happen, no matter the cost or common sense