Create-react-app: IE 11 'Symbol is undefined'

Created on 23 Nov 2017  ·  2Comments  ·  Source: facebook/create-react-app

My win 7 ie 11 complains 'Symbol' is undefined.
Object.keys won't work too.
I have to do this
import 'core-js/es6/symbol;
import 'core-js/fn/symbol/iterator;
at very top of index.js.

It would be wonderful with default support >/////<
Thank you !

Most helpful comment

You need a polyfill. I'm using babel-polyfill with success.

It should be as simple as including import "babel-polyfill" at the top of index.js

All 2 comments

You need a polyfill. I'm using babel-polyfill with success.

It should be as simple as including import "babel-polyfill" at the top of index.js

SODESUGA!
Thank you very much!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Evan-GK picture Evan-GK  ·  3Comments

wereHamster picture wereHamster  ·  3Comments

xgqfrms-GitHub picture xgqfrms-GitHub  ·  3Comments

ap13p picture ap13p  ·  3Comments

alleroux picture alleroux  ·  3Comments