Explain that our example doesn't work for most users

This commit is contained in:
Dan Abramov
2017-10-17 18:55:32 +01:00
committed by GitHub
parent e826e307e0
commit d154b4e67d

View File

@@ -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.