ReactJS+ IE+ Function expected

36 views Asked by At

Reactjs application is not working on IE11

Please find my package.json and index.js file below,

index.js file :

import 'react-app-polyfill/ie9';
import 'react-app-polyfill/ie11';
import 'react-app-polyfill/stable';
import 'core-js/stable';
import "regenerator-runtime/runtime";
import 'intersection-observer';
//import 'isomorphic-fetch';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

package.json file :

"dependencies": {
    "@material-ui/core": "^4.11.2",
    "@material-ui/icons": "^4.11.2",
    "@react-pdf/renderer": "^1.6.12",
    "@testing-library/jest-dom": "^4.2.4",
    "@testing-library/react": "^9.5.0",
    "@testing-library/user-event": "^7.2.1",
    "core-js": "^3.9.0",
    "fontsource-roboto": "^2.1.4",
    "intersection-observer": "^0.12.0",
    "isomorphic-fetch": "^3.0.0",
    "react": "^16.13.1",
    "react-app-polyfill": "^2.0.0",
    "react-bootstrap": "^1.2.2",
    "react-dom": "^16.13.1",
    "react-redux": "^7.2.0",
    "react-scripts": "^3.4.3",
    "react-virtualized": "^9.22.3",
    "redux": "^4.0.5",
    "redux-devtools-extension": "^2.13.8",
    "redux-thunk": "^2.3.0",
    "regenerator-runtime": "^0.13.7",
    "reselect": "^4.0.0",
    "uuid": "^8.3.2"
  },
  "browserslist": {
    "production": [
      ">0.2%",
      "not dead",
      "not op_mini all",
      "ie >=9"
    ],
    "development": [
      "last 1 chrome version",
      "last 1 firefox version",
      "last 1 safari version",
      "ie 11"
    ]
  },

It gives below error,

enter image description here

While check in debugger it shows like below,

enter image description here Please help me to resolve this issue,

I will appreciate best answer.

0

There are 0 answers