diff --git a/README.md b/README.md index c7451fd..772ac1c 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ # react-native-meteor -Meteor-like methods for React Native. **Currently in v1.0.0-beta19** ! For old docs, see [v0.6.2 documentation](https://github.com/inProgress-team/react-native-meteor/tree/0.6.2) (classic ddp interface). +Meteor-like methods for React Native. **Currently in v1.0.0-beta20** ! For old docs, see [v0.6.2 documentation](https://github.com/inProgress-team/react-native-meteor/tree/0.6.2) (classic ddp interface). ## What is it for ? @@ -131,6 +131,21 @@ Same as [ListView](https://facebook.github.io/react-native/docs/listview.html) C /> ``` +# MeteorComplexListView Component + +Same as [ListView](https://facebook.github.io/react-native/docs/listview.html) Component but does not need dataSource and accepts one argument. You may need it if you make complex requests combining multiples collections. + +- `elements` **function** *required* : a reactive function which returns an array of elements. + +### Example usage + +```javascript +{return Meteor.collection('todos').find()}} + renderRow={this.renderItem} +/> +``` + # API ## Meteor DDP connection @@ -172,12 +187,10 @@ Once connected to the ddp server, you can access every method available in [ddp. * Meteor.ddp.on('changed') * ... -# TODO +## react-native-router-flux -- [X] [Helper for Meteor-CollectionFS](https://github.com/inProgress-team/react-native-meteor/issues/18) -- [ ] [Accounts Methods 2/4](https://github.com/inProgress-team/react-native-meteor/issues/30) -- [ ] [Meteor user methods 1/2](https://github.com/inProgress-team/react-native-meteor/issues/31) -- [X] [Update method](https://github.com/inProgress-team/react-native-meteor/issues/24) -- [X] [When disconnected, minimongo insert is pushing data to view but not send to server when reconnecting.](https://github.com/inProgress-team/react-native-meteor/issues/29) +* [Github repository](https://github.com/inProgress-team/react-native-meteor-router-flux) +* npm i --save react-native-meteor-router-flux@latest +* [Custom scene renderer](https://github.com/aksonov/react-native-router-flux#switch-new-feature) which allows to select tab scene to show depending from app state. It could be useful for authentication, restricted scenes, etc. Pull Requests are welcome ! :) diff --git a/package.json b/package.json index 371cd57..2cd5a1d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-native-meteor", - "version": "1.0.0-beta19", - "description": "DDP React-native Client", + "version": "1.0.0-beta20", + "description": "Full Meteor Client for React Native", "main": "src/Meteor.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1"