inProgress-team / react-native-meteor

Meteor Reactivity for your React Native application :)
MIT License
693 stars 210 forks source link

Meteor.connect as promise? #189

Open wandonye opened 7 years ago

wandonye commented 7 years ago

I tried Meteor.connect(url).then(...) which seems not working. So is there a way I can do something once and only after Meteor is connected to the server successfully?

ujwal-setlur commented 7 years ago

Why don't you just trigger your activity after Meteor.status() comes back positive? That's a reactive variable.