DEV Community

Discussion on: Why We Use Web Components

Collapse
 
maxlynch profile image
Max Lynch • Edited

Hey Kevin, I already addressed several of your points in the post.

And no, it’s not the same as a framework because the output is portable, and that’s a huge difference. Whether you use Stencil or something else the components can work together without you having to use that framework, which is a huge difference.

As noted in the post if you’re not satisfied with tooling then you won’t be satisfied with my argument and that’s okay.

Collapse
 
kevnz profile image
Kevin Isom

I recently gave a talk on web components, and I have wanted to like them for years. But the compromises they had to come to (like only supporting the class syntax) have hurt more than helped.

WebComponents have a place, and your case is a prime of example of that. But I would hate to tell someone just learning web development to learn and build something with them. Or that they would have to use another framework that pushes them even farther from javascript/html/css.

As primitives, yeah maybe. For application dev? I'd have to take a hard pass.