mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
Explain that our example doesn't work for most users
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user