react-native-meteor-collection2
This project is a port of the Meteor package aldeed:collection2-core
to make it's functionality available in React Native.
Supporting the Project
If you appreciate the open source work I do, you can help keep me going with a small donation for my time and effort.
Installation
Make sure you have the following packages installed from npm
.
- react-native-meteor
- simpl-schema
- lodash
Then install this package.
$ npm install --save react-native-meteor-collection2
Basic Usage
We'll assume here that you have a working Meteor app and you have an open ddp connection established using react-native-meteor
;
;; //We'll assume you share schemas with your meteor app const SomeCollection = 'someCollection'; SomeCollection; try SomeCollection; catch e ToastAndroid