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
Summary:
**This PR depends on an unreleased version of `fbjs`, so DO NOT MERGE.**
When merged along with facebook/react-native#5084, facebook/fbjs#95, and whatever PR fixesfacebook/react-native#4062 (which I will update this issue with when I push it), this fixes#26.
The changes to Relay itself are super minor here:
1. Remove the reliance on ReactDOM. The only use of ReactDOM is `unstable_batchedupdates`. So to fix, I abstracted the reference to `unstable_batchedupdates` to it's own module, and then took advantage of the "react-native" `package.json` option, supported by the React Native packager, to load the correct version of this function given the execution context.
2. Removed `react-dom` from peerDependencies (but kept it in devDependencies, for use in tests), and also upgrade the `fbjs` dependency to a (yet unreleased) version that provides better compatibility with React Native.
Closes#713
Reviewed By: yungsters
Differential Revision: D2872129
fb-gh-sync-id: f6ba6d06cfdde8ad8cbb0c7cd9d645f44f65e437
0 commit comments