meteorrn / meteor-react-native

Meteor client for React Native matching Meteor Spec
https://guide.meteor.com/react-native.html
Other
59 stars 31 forks source link

Cursor.Observe() 'removed' event are not firing #38

Closed makn3tiza closed 4 years ago

makn3tiza commented 4 years ago

I found that the 'removed' event in Cursor.Observe() are not firing, I guess its because Data.db[collection].findOne({$and:[{_id:newDocument._id}, cursor._selector]}) returns null for deleted documents, maybe you can find a better solution than mine, thank you.