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

Console warning about window.customElements.define #20

Open
Sergeyshall opened this issue May 31, 2019 · 1 comment
Open

Console warning about window.customElements.define #20

Sergeyshall opened this issue May 31, 2019 · 1 comment

Comments

@Sergeyshall
Copy link

There is a warning about deprecation of registerElement method.

 [Deprecation] document.registerElement is deprecated and will be removed in M73, around March 2019. Please use window.customElements.define instead. See https://www.chromestatus.com/features/4642138092470272 for more details.
@benjaminsuch
Copy link

benjaminsuch commented Jul 15, 2019

Hey @Sergeyshall this is because the version on NPM is 1.3.0, meanwhile this repo has already 2.0.1. You can install the latest version by using the GitHub link like:

yarn add https://github.com/spring-media/react-web-component

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

No branches or pull requests

2 participants