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
Thanks for catching this. We need to detect if Object.freeze is supported. If not, then we shouldn't freeze. Also, the action items to support Arrays are:
When "merging" (shallow or deep), simply move the entire array over, do not for-in them and do not recurse. Pete had ideas to be able to specify how arrays should be intelligently merged (appended, prepended, index-by-index replace).
We should test for Object.freeze, but we should probably actually just remove this from the repo, we don't use it. Also tests could be updated to use Object.isFrozen instead of depending on throwing (which only happens in strict mode, so IE9 which supports freezing but not strict mode fails).
https://travis-ci.org/facebook/react/jobs/14942607#L3829
http://saucelabs.com/tests/e516f61322464a97aea25b226103ce0a
The text was updated successfully, but these errors were encountered: