React-app 在 Internet Explorer 11 中不工作

React-app not working in Internet Explorer 11

我有一个 React 应用程序,我需要它在 Internet Explorer 11 中工作。我使用 Material-UI 和其他一些小型库。现在,我只能看到一个空白页。我尝试了下一个解决方案(没有成功):

  1. 我为 ie11 添加了 react-app-polyfill 作为我在 index.js 中的第一行:

    import 'react-app-polyfill/ie11'; import 'react-app-polyfill/stable';

  2. 在我的 package.json 我添加了 Internet Explorer 11:

        "production": [
          ">0.2%",
          "not dead",
          "not op_mini all",
          "ie 11"
        ],
        "development": [
          ">0.2%",
          "not dead",
          "not op_mini all",
          "ie 11"
        ]
      }```
    

我有下一个错误(翻译自西班牙语):

Access to property "caller" from a function or object is not allowed in strict mode.

The object doesn't accept the property or function "repeat"

对这个话题更有经验的人可以帮助我吗? 谢谢!

我使用 react-easy-state 来管理应用程序的全局状态。如文档所述,它与 Internet Explorer 不兼容。我删除了库,它起作用了。