-1

In IE11 I get these errors:

enter image description here

But i have react-app-polyfill installed and imported in index.js first line:

enter image description here

enter image description here

  • Hi, How about the issue? Is [my answer below](https://stackoverflow.com/questions/71221386/ie11-polyfills-dont-work-for-react-app-why/71233086#71233086) helpful to deal with the issue? I am glad to help if you have any other questions. – Yu Zhou Feb 28 '22 at 08:28

1 Answers1

0

You also need to add ie 11 in package.json like this: 

enter image description here

For more information, you can refer to this answer. I create a new React app according to this then do the steps in the answer I mention above, the React app can work well in IE 11.

Yu Zhou
  • 11,532
  • 1
  • 8
  • 22