Create a project using yarn create react-app centre-app according to the official document. After yarn Start is used, chrome can access the project normally, but Internet Explorer 11 displays the following error message

  1. yarn add react-app-polyfill
  2. Import ‘react-app-polyfill/ie11’ at the top of SRC /index.js; The import ‘react – app – polyfill/stable;
  3. Add IE11 to browserList in the packge.json file

www.cnblogs.com/karila/p/11…