Skip to content

Commit 3bcc1f5

Browse files
authored
Merge pull request #172 from reactjs/gaearon-patch-1
Explain that our example doesn't work for most users
2 parents 2c863e4 + d154b4e commit 3bcc1f5

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

content/docs/web-components.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,7 @@ class XSearch extends HTMLElement {
5454
}
5555
customElements.define('x-search', XSearch);
5656
```
57+
58+
>Note:
59+
>
60+
>This code **will not** work if you transform classes with Babel. See [this issue](https://github.com/w3c/webcomponents/issues/587) for the discussion.

0 commit comments

Comments
 (0)