You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSX Spread Attributes in IE-11 not working out of the box #6091
Cannot run this, in my env it returns the error ( even run as admin )
npm ERR! code ENOLOCAL
npm ERR! Could not install from "kyleg\AppData\Roaming\npm-cache\_npx\1848" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kyle\AppData\Roaming\npm-cache\_logs\2018-12-26T05_33_31_814Z-debug.log
Install for create-react-app@latest failed with code 1
Steps to Reproduce
Try to use JSX spread Attributes on an app that will render in IE-11 EXAMPLE: from the website
create-react-app should use babel env 'usage' to polyfill so that you do not get the error. Object doesn't support property or method 'assign'
In IE-11
Actual Behavior
You get the error: Object doesn't support property or method 'assign'
In IE-11
so starting to realize there is very little reason to ever use this anyway... Maybe that is why no one has seemed to mention / notice this before. Basically deciding that there are far to many ways around this + seems like bad practice to use it anyway. You may want to look into this further since it does seem to be not supported by create-react-app out of the box, even though it is still a seemingly useless feature with so many more viable workarounds available.
Activity
Timer commentedon Dec 27, 2018
Please see the documentation about supported browsers: https://facebook.github.io/create-react-app/docs/supported-browsers-features
slaterbbx commentedon Dec 27, 2018
Hey @Timer good to know, Not sure why I assumed that preset env was being used with 'usage'.
But makes sense, sorry for the wasted time.
I see the docs clearly say "Note that this project includes no polyfills by default." lol, so yea, my bad :-D
Kyle