React-hot-loader: IE11 Object.entries

Created on 16 Jul 2019  路  4Comments  路  Source: gaearon/react-hot-loader

Description

What you are reporting:

Having an issue with IE11. I'm getting an error thrown which is preventing the site from loading. I've included the correct polyfills for IE and have react-hot-loader in my babel file.

SCRIPT438: Object doesn't support property or method 'entries'
react-hot-loader.development.js (1188, 1)

Expected behavior

What you think should happen:

It shouldn't error!

Actual behavior

What actually happens:

It's erroring

Environment

React Hot Loader version:

version "4.12.6"

Run these commands in the project folder and fill in their results:

  1. node -v: 10.16.0
  2. npm -v: 6.9.0

Then, specify:

  1. Operating system: Mac OSX
  2. Browser and version: Internet Explorer 11

Reproducible Demo

Unfortunately I don't have one.

Most helpful comment

Fix has been released in 4.12.8, thank you for creating the PR.

All 4 comments

Nevermind! This is unrelated.

@JamesIves Do you know what ended up being the cause of this? I'm running into the same issue and it seems like it is related to react-hot-loader 馃

Can't upgrade from 4.12.3 for this reason

Just see this. I actually ran into the very same problem. it seems the code run before polyfill is loaded, which cause an error on ie 11. I have opened a PR https://github.com/gaearon/react-hot-loader/issues/1304 to fix it.

Fix has been released in 4.12.8, thank you for creating the PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tiberiumaxim picture tiberiumaxim  路  4Comments

mattkrick picture mattkrick  路  3Comments

adesmet picture adesmet  路  4Comments

zlk89 picture zlk89  路  3Comments

theKashey picture theKashey  路  4Comments