Browse Source

Merge pull request #172 from reactjs/gaearon-patch-1

Explain that our example doesn't work for most users
main
Brian Vaughn 7 years ago
committed by GitHub
parent
commit
3bcc1f5f1a
  1. 4
      content/docs/web-components.md

4
content/docs/web-components.md

@ -54,3 +54,7 @@ class XSearch extends HTMLElement {
}
customElements.define('x-search', XSearch);
```
>Note:
>
>This code **will not** work if you transform classes with Babel. See [this issue](https://github.com/w3c/webcomponents/issues/587) for the discussion.

Loading…
Cancel
Save