4 ms·
People discussing writing Web Components by hand are missing the point. Web Components, once adequately specced, will become a compile target for higher level
by adam_arthur 3y ago
People discussing writing Web Components by hand are missing the point.
Web Components, once adequately specced, will become a compile target for higher level frameworks like React and Vue. That way you still get the benefits of higher level frameworks but the components can interoperate with each other. Vue CLI already supports compiling down to a WebComponent, though not sure how first class it is.
There are far too many lacking ergonomics to expect writing Web Components by hand to become popularized/convention
- jdmg94 3y agoI work at a big org and we use Stencil to produce UI kits using web components. In my experience and the anecdotal experience of the people in adjacent orgs that work with web components too: Its still a shit show.
- adam_arthur 3y agoYes, the Web Components spec is incomplete and not adequate for real-world use currently. But the end state will be as a compilation target, not as a development platform.
- troupo 3y agoWe're still at least 20 specs away from them being "adequately specced": https://w3c.github.io/webcomponents-cg/2022.html https://w3c.github.io/webcomponents-cg/2022.html And there are multiple other issues that make web components a very unattractive compilation target.