Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link to custom-elements-everywhere.com #2039

Merged
merged 3 commits into from
Mar 2, 2019
Merged

Conversation

atilacamurca
Copy link
Contributor

The site https://custom-elements-everywhere.com runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.

The site <https://custom-elements-everywhere.com> runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.
@phanan
Copy link
Member

phanan commented Mar 1, 2019

I'm not sure about this TBH. Time to ping @yyx990803 I guess 😅

@@ -393,6 +393,8 @@ You may have noticed that Vue components are very similar to **Custom Elements**

2. Vue components provide important features that are not available in plain custom elements, most notably cross-component data flow, custom event communication and build tool integrations.

According to <https://custom-elements-everywhere.com/#vue>, Vue has a great interoperability with **Custom Elements**.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can provide a bit more context:

"Although Vue doesn't use custom elements internally, it has great interoperability when it comes to consuming or distributing as custom elements. [According to ...]. Vue CLI also supports building Vue components that register themselves as native custom elements."

Suggestions added, to give more context regarding Custom Elements.
@@ -393,6 +393,11 @@ You may have noticed that Vue components are very similar to **Custom Elements**

2. Vue components provide important features that are not available in plain custom elements, most notably cross-component data flow, custom event communication and build tool integrations.

Although Vue doesn't use custom elements internally, it has great interoperability when it comes to
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you merge the three lines?

@@ -393,6 +393,11 @@ You may have noticed that Vue components are very similar to **Custom Elements**

2. Vue components provide important features that are not available in plain custom elements, most notably cross-component data flow, custom event communication and build tool integrations.

Although Vue doesn't use custom elements internally, it has great interoperability when it comes to
consuming or distributing as custom elements. According to <https://custom-elements-everywhere.com/#vue>,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to keep the words concise while still maintaining the same information, I'd suggest something like:

Although Vue doesn't use custom elements internally, it has great interoperability when it comes to consuming or distributing as custom elements. Vue CLI also supports building Vue components that register themselves as native custom elements.

Changes putted all in one line.

Link placed embedded in the text, to maintain consistency.
@phanan phanan merged commit 1a0e6f4 into vuejs:master Mar 2, 2019
@phanan
Copy link
Member

phanan commented Mar 2, 2019

LGTM, thanks!

@atilacamurca atilacamurca deleted the patch-1 branch March 2, 2019 14:00
mazipan pushed a commit to vuejs-id/docs that referenced this pull request Mar 7, 2019
* Link to custom-elements-everywhere.com (vuejs#2039)

The site <https://custom-elements-everywhere.com> runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.

* Updated Nuxtent link (vuejs#2041)

* Fix wrong statement about arrow function and bound this (vuejs#2040)

* Fix wrong statement about arrow function and bound this

Stating that arrow functions are bound to it's parent `this` is wrong, arrow functions does not have a `this` at all. More: https://twitter.com/getify/status/1101521219243966466

* Update src/v2/guide/instance.md

Co-Authored-By: KadoBOT <ricardo.ambrogi@gmail.com>

* Update instance.md

Remove unnecessary `a`

* translate filters

* fix translate filters

* update translate filters
mazipan pushed a commit to vuejs-id/docs that referenced this pull request Mar 8, 2019
* Link to custom-elements-everywhere.com (vuejs#2039)

The site <https://custom-elements-everywhere.com> runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.

* Updated Nuxtent link (vuejs#2041)

* Fix wrong statement about arrow function and bound this (vuejs#2040)

* Fix wrong statement about arrow function and bound this

Stating that arrow functions are bound to it's parent `this` is wrong, arrow functions does not have a `this` at all. More: https://twitter.com/getify/status/1101521219243966466

* Update src/v2/guide/instance.md

Co-Authored-By: KadoBOT <ricardo.ambrogi@gmail.com>

* Update instance.md

Remove unnecessary `a`

* fix: routing translation

* fix: fixed, as suggested by @nusendra and @mazipan
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 14, 2019
The site <https://custom-elements-everywhere.com> runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.
phanan pushed a commit to phanan-forks/vuejs.org that referenced this pull request Mar 20, 2019
The site <https://custom-elements-everywhere.com> runs a suite of tests against a framework to
identify interoperability issues, and highlight potential fixes already implemented in other frameworks.

This is a great way to give more confidence while choosing Vue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants