From 199559f4647b48360357f561c720591b3e0a1f3b Mon Sep 17 00:00:00 2001 From: Steve Matney Date: Wed, 8 Apr 2020 13:33:13 -0600 Subject: [PATCH] Docs: updating README with a Polyfills anchor --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 17f37e0..237b075 100644 --- a/README.md +++ b/README.md @@ -59,6 +59,7 @@ customElements.define('incrementer', ReactTestComponent); The key pieces of code are `... extends ReactHTMLElement` and `this.mountPoint`. +> ### Polyfills > 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. Be sure to include [the ES5 adapter](https://github.com/webcomponents/polyfills/tree/master/packages/webcomponentsjs#custom-elements-es5-adapterjs), as we currently transpile `ReactHTMLElement` down to ES5. The polyfills should be in the ``, and should look something like this: > > ```html