FortAwesome / react-fontawesome

Font Awesome React component
https://fontawesome.com
MIT License
3.67k stars 262 forks source link

IE11 error: 'Proxy' is undefined #523

Open Be-P opened 1 year ago

Be-P commented 1 year ago

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):