I do think it was dumb that <style scoped> got removed though.
I do think it was dumb that <style scoped> got removed though.
[1] https://bugs.chromium.org/p/chromium/issues/list
Edit: This might be fixed, see my first post https://news.ycombinator.com/item?id=22604632
Edit: to be clear, saved pages are HTML snapshots, not full web apps stored in a page.
I'm not sure in what sense web components are different from the components of any other modern application framework, except for the fact that they can be easily imported (probably wrapped) in your framework of choice. But if you're using one of the main frameworks, there is already no shortage of components available for it. Each component will come anyway with a complex behaviour that will need to be wired up with the rest of your application, so the idea of just "source some js then add the element to the page" seems naive.
And web components come with their set of problems: more opaque, harder to style, hard to make accessible. They break the paradigm of "everything lives in the same document" that it's part of what defines the web. They can evolve at a slower pace than frameworks because they're native apis that need to go through slow standardisation processes.
It sounds like an idea from the '90s: what if we could create those damn widgets ourselves with custom tags and drop them in the html? Well, it's been possible for many years. But it is only useful if you do it in the context of an application framework which already gives you the same feature, with better tooling.
STOP MAKING YOUR PAGES SO SLOW!!
I'll stick to frameworks that emit standard HTML thanks.
Web design is the worst thing that ever happened to the web.