You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The key pieces of code are `... extends ReactHTMLElement` and `this.mountPoint`.
61
61
62
+
> One thing to remember is that you will need to load [the webcomponentsjs polyfills](https://www.webcomponents.org/polyfills) for `ReactHTMLElement` to work in all browsers. The polyfills should be in the `<head>`, and should look something like this:
> <!--- We use the closing bracket of this comment to close off the above opening comment, if it gets written -->
73
+
> ```
74
+
>
75
+
> There are many ways to implement these polyfills, and you can explore them in the [webpcomponentsjs README](https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs#how-to-use).
76
+
62
77
This will allow us to utilize our Web Component as an element in any HTML:
0 commit comments