react-fontawesome
react-fontawesome copied to clipboard
IE11 error: 'Proxy' is undefined
Describe the bug
I'm trying to use fontawesome-react, the application has to run on ie11. Just importing the dependencies and defining an icon causes the browser to show a blank page and log error: 'Proxy' is undefined
.
Reproducible test case Simply install the dependencies
npm i --save @fortawesome/fontawesome-svg-core
npm install --save @fortawesome/free-solid-svg-icons
npm install --save @fortawesome/react-fontawesome
and create a component <FontAwesomeIcon icon={["far", "coffee"]} />
. If you open Internet Explorer 11 you'll get the above error.
Expected behavior It should work, and show the fontawesome icon
Desktop (please complete the following information):
- Browser [e.g. chrome, safari]: IE
- Version: 11