Hacker News new | ask | show | jobs
by dmitriid 1255 days ago
> Maybe because those frameworks don't want to be rewritten from scratch?

The absolute vast majority of new frameworks don't use web components as the foundation.

Perhaps instead of burying their heads in the sand people pushing web components would should finally start asking why?

1 comments

Usually I use https://angular.io/guide/elements, https://vuejs.org/guide/extras/web-components.html#using-cus... or https://lit.dev/

I only need to ask why, when I have to deal with React based stuff.

AngularJS doesn't use web components as their foundation.

VueJS doesn't use web components as their foundation.

So you're not asking why. You're ignoring the question and burying your head in the sand.

Yeah, because yelling against Web Components in every forum thread is so much more productive.

We use them with the frameworks that have first class support, regardless if they are at their foundation or not.

Who is actually being ignored here?

> Yeah, because yelling against Web Components in every forum thread is so much more productive.

I'm not yelling. I'm pointing out facts.

> regardless if they are at their foundation or not.

So why are they not used as a foundation? Why are they used at best as a second class citizen? Why is it these frameworks don't produce web components by default?

> Who is actually being ignored here?

Framework authors, who have been pointing out the very many deficiencies and shortcomings for years. Most developers who need things like scoped CSS and open-ui.org more than fifteen hundred new standards, each requiring JS to work, barely.

I only see React framework authors ignoring Web Components.

Angular and Vue framework authors considered them good enough to spend development resources on adding support for Web Components, they didn't do it for fun and glory.

> I only see React framework authors ignoring Web Components.

See how you ignore everything I write even though I wrote it in the very first reply: "there are multiple reasons why none of the major frameworks and very few of the new frameworks have WCs as their foundation. At best they can consume/embed them and perhaps compile to them."

All you keep saying is "oh they support web components only react doesn't support that's the only question why"

Full on denial and ignorance.

Angular's "support", for example, is slapping on a wrapper, and ignoring everything about web components entirely by loading the angular runtime and everything else Angular behind the wrapper. But sure. Support.