Browse Source

Explain that our example doesn't work for most users

main
Dan Abramov 7 years ago
committed by GitHub
parent
commit
d154b4e67d
  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