News for hackers. Stuff that matters.
Re:The Anatomy of Web Components by dmitriid on Sunday July 28, 2019 @02:17PM (#20548974)
> Vue and Angular are leveraging them. https://vuejs.org/v2/guide/#Relation-to-Custom-Elements

It literally says that Vue doesn't leverage Web Components. It is, however, interoperable with them.

> React community is kind of hostile to the WebComponents idea.

It's not. It's just more pragmatic. I've seen way more hostility from web component community towards React (and frameworks in general).

Re:The Anatomy of Web Components by pjmlp on Sunday July 28, 2019 @03:22PM (#20549344)
Being interoperable is one way of leveraging another tech.
Re:The Anatomy of Web Components by dmitriid on Monday July 29, 2019 @01:51AM (#20551812)
I guess it’s the subtle shades of meaning. Dictionaries disagree on what leverage is :) I’ve used the relevant definitions below:

Google (top of search results, source unknown, most likely New Oxford of American English): use (something) to maximum advantage.

Merriam-Webster: to provide or supplement with leverage (implies financial support to gain power/effectiveness) or to gain or exploit

Cambridge: to use something that you already have, such as a resource, in order to achieve something new or better.

So, I guess Vue isn’t leveraging web components in New Oxford sense (they are not using WCs, they are incidental), but it can be argued they are leveraging them in the Cambridge sense. And definitely not in the Merriam-Webster sense :)

Re:The Anatomy of Web Components by pjmlp on Monday July 29, 2019 @07:06AM (#20553263)
As European I tend to speak her Majesty's English.