Summary:
This reverts commit e7c1cf5b7d2eba9468804635d0c2a0fc6725e42a.
Fixes#14838.
Test using the steps in #14838.
Closes https://github.com/facebook/react-native/pull/15584
Reviewed By: jeanlauliac
Differential Revision: D5670640
Pulled By: mjesun
fbshipit-source-id: e7c4c4cfdd0d3142561847aefb35b8a8b33e5ffa
Summary:
Turns out, even after discussion that was had in https://github.com/facebook/react-native/pull/5294#issuecomment-174397103, we really do need this transform.
I've just included it in the preset...let me know if you all would rather publish to npm.
The actual reason why this is necessary is because in the latest sync from FB, fbjs was updated to use the `Symbol.iterator` express in it's isEmpty function: 064a484e18
We use this in RN in the ListView...and this change (once #5084 is merged) will cause ListView to break on older JSC context's.
This resolves that, and is probably something we should have had all along.
Closes https://github.com/facebook/react-native/pull/5824
Reviewed By: svcscm
Differential Revision: D2913315
Pulled By: vjeux
fb-gh-sync-id: abaf484a9431b3111e8118d01db8d2c0d2dd73ca
shipit-source-id: abaf484a9431b3111e8118d01db8d2c0d2dd73ca