Connecting React Native and Meteor
Spencer Carli

For anyone doing this tutorial and get some error like “undefined function, evaluating this.db.batchedUpdates”:

I’ve tried pretty much everything I could, and it seems that it’s related to the version of ReactNative and React, you have to use something older than the latest version of those two, the ones I use:

“react”: “16.0.0-alpha.6”,

“react-native”: “0.43.3”,

“react-native-meteor”: “¹.0.3”

“react-test-renderer”: “16.0.0-alpha.6”

And it works. I think the team working on the react-native-meteor is fixing this right now, so there could be an update in the near future.

Like what you read? Give Cao Xilong a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.