-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
error on react native 45 and react 16-alpha.12 #1866
Comments
I am still using react-relay/classic, and I just upgraded react-native to v0.45.1 and I started getting the following error: this._batchUpdate is not a function. The same error occurs both on [email protected] and [email protected]. |
Seeing this too - have you found any work-arounds? |
@joonhocho I'm also getting this error, did you resolve it? |
I have fixes for this in a branch that I’m updating as I go through upgrading our app. I’ll move extract these to a PR later today. |
Please give #1889 a try (I’m not yet done with the conversion of our app) |
@spicyj helped me debug this. So const ReactNative = require('ReactNative');
module.exports = ReactNative.unstable_batchedUpdates; However, Notice that @sibelius or @alloy, can you try modifying Separately, we really need to rename |
To be fair, I suggested |
@sibelius or @alloy, can either of you see if facebook/react-native@5550a25 helps? |
@yungsters facebook/react-native@5550a25 worked for me so far. I'm in the middle of a big upgrade, so possible I'll run into something else, but so far so good! |
facebook/react-native@5550a25 works great |
@yungsters Been a while, our migration was on hold. I can confirm that that patch fixes the issue 👍 |
Perfect. |
I'm using react-relay 1.0.0
I've upgraded my react native code to RN 45, and it is throwing the following error:
in this line:
require('./relayUnstableBatchedUpdates')
The text was updated successfully, but these errors were encountered: