-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Open
Milestone
Description
Is this a bug report?
Yes
If you import react-app-polyfill/ie11
before importing any shim/polyfill using es-abstract
lib, you get an error in IE11 (possibly other browsers as well). Some example polyfills: object.entries, array-includes, object.values
Error: object doesn't support property or method Symbol(Symbol.iterator).9_<some-hash>
Location: es-abstract
-> GetIntrinsic.js at line 56.
Workaround: import react-app-polyfill/ie11 after importing all shims/polyfills using es-abstract
.
Environment
IE11, presumably anything IE.
Steps to Reproduce
- Create new app
- in index.js, on line 1,
import react-app-polyfill/ie11
- in index.js, on line 2,
import objectValues from 'object.values/polyfill'
- Open your app in IE11.
Expected Behavior
App would run.
Actual Behavior
App crashes.
thecristen and devuxer