News for hackers. Stuff that matters.
Re:The Failed Promise of Web Components by gavinray on Wednesday September 30, 2020 @03:09PM (#24642472)
The point about the shipping the framework as a dependency is a good one. In the grand scheme of things it's not the end of the world but shipping multiple framework runtimes is definitely not ideal.

Svelte is the outlier here, where the end-product is fully compiled to standard API's without a runtime. Maybe we'll see more frameworks adopt this approach in the future.

Re:The Failed Promise of Web Components by lowkeyokay on Wednesday September 30, 2020 @03:26PM (#24642676)
StencilJS does this too. It also has a wrapper to create React components. I really recommend it
Re:The Failed Promise of Web Components by gavinray on Wednesday September 30, 2020 @03:34PM (#24642784)
I completely forgot about Stencil from the Ionic team.

Definitely agreed. If you want an example of Web Components working cross-framework, look at Ionic and Stencil tbh.