Re:If Web Components are so great, why am I not using them?
by eropple on Wednesday August 02, 2023 @07:21PM
(#36979262)
I don't know many (any?) people who are greenfielding just-JavaScript, though. If you're using JavaScript in anger, you should probably be using TypeScript, and now you've got a build step regardless.
Which is not a bad thing. Incremental builds have gotten much better and much easier to deal with.
Re:If Web Components are so great, why am I not using them?
by tailspin2019 on Wednesday August 02, 2023 @07:31PM
(#36979345)
You now know one person who is doing this.
:)
Re:If Web Components are so great, why am I not using them?
by wsgeorge on Wednesday August 02, 2023 @08:04PM
(#36979590)
> greenfielding just-JavaScript, though
There are still some frameworks that let you write fancy front-ends without a build-step and associated tooling. And there's people like me who prefer those since they meet our needs.
Re:If Web Components are so great, why am I not using them?
by jamesfinlayson on Thursday August 03, 2023 @02:41AM
(#36982192)
I use web components in a small project where I don't want a build step (it's plain HTML and I just use web components for re-usability instead of copy+pasting mark-up).
That’s a big win that can be easily overlooked. But it depends what you’re optimising for…