-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
IE11 fromJS bug #1648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Any chance this will be addressed? It completely broke my application on internet explorer as I use fromJS a lot. |
@thenano I had the same issue and was able to fix it installing the EDIT: A little bit more of context: After #1627, |
List structure seems to be broken by using .concat() on IE11 on 4.0.0-rc.12. But v3.8.2 works good. Is it related to this issue? How to reproducePlease open below by IE11. http://another.geniee.jp/test/ysato/immutable-bug/map.html var MyRecord = Immutable.Record({a: 1});
var list = Immutable.List([]);
list = list.concat([new MyRecord({a: 2}), new MyRecord({a: 3})]);
console.log(JSON.stringify(list));
// from Chrome: [{"a":2},{"a":3}]
// from IE11: [[{"a":2},{"a":3}]] <- it is incorrect |
I had the same issue with |
Me too. And when I execute the code :
In IE 11 ,it will throw exception package.json
|
But when I use the
It is work ok. |
@cauethenorio You're the real mvp, the es6.function.name fixed it for me. |
Version v4.0.0-rc.12
Function fromJS.
example:
console.log(fromJS({test: 'qqq'}))
In most of the browsers it returns Map object, but IE11 returns the same object.
Other case:
console.log(fromJS([{test: 'qqq'}]))
In most of the browsers it returns List and Map as first element, but IE11 returns List and initial object.
Version 3.8.2 works as expected
The text was updated successfully, but these errors were encountered: