-1

I am a novice in React and developed a utility application and it's working fine in local machine.

I tried to deploy build folder in IIS on Windows server but when I am trying to access it in IE, I am getting blank page after some time. Below is the error I can see in the console:

enter image description here

Debugger is showing this:

enter image description here

Below are the dependencies in my package.json:

enter image description here

Regards,

6
  • 2
    Are you explicitly required to support IE 11? If not then this is not a real problem
    – apokryfos
    Commented Aug 31, 2022 at 15:33
  • 1
    (because it's past end of life. MS no longer maintains or supports it. See learn.microsoft.com/en-us/lifecycle/products/… for details) Commented Aug 31, 2022 at 15:35
  • as of now it's ie11 only, will check the feasibility if I can get chrome installed on the server and then will check.
    – Manish
    Commented Aug 31, 2022 at 15:35
  • Why chrome? the current MS browser is Edge. You already have it, it comes with Windows. Commented Aug 31, 2022 at 15:38
  • 1
    If it's a website you can presumably access it via a locally installed chrome via its IP address or hostname without needing to install anything on the remote server. Though this may require you to expose the website to the internet
    – apokryfos
    Commented Aug 31, 2022 at 15:38

2 Answers 2

0

React 18 does not support Internet Explorer. Drop back to React 17 if you need to support that (note that IE is end-of-life though).

https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#dropping-support-for-internet-explorer

Even with React 17, you'll likely need polyfills, such as react-app-polyfill.

-1

Symbols are a "new" javascript concept that isn't supported in IE11.

You'll need to eject and change your target in your compiler so it transpires this to something IE11 can interpret.

3
  • can you please help how to do that ?
    – Manish
    Commented Aug 31, 2022 at 15:29
  • 1
    I answered your question. You can research more on the subject. Commented Aug 31, 2022 at 15:31
  • 1
    Or, you can simply not support IE11. Commented Aug 31, 2022 at 15:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.