When using ie11, react reported an error and couldn't solve it all the time.

ReactDom.render(
  (<Provider store={store}>
    <BrowserRouter>
      <Switch>
        <Route path="/login" exact component={Login} />
        <Route component={Layout} />
      </Switch>
    </BrowserRouter>
  </Provider>),
  document.getElementById("root")
)

and confirm that babel-ployfill is introduced at the top

but still report the following errors

clipboard.png

normal display under chrome and ie edge

Jul.19,2021
Menu