This library still under development. Use it at your own risk!
Relay renderer adopted to work with react-native-router-flux library.
To Be Done
- Move Relay renderer from example in ths repo as module.
- Add tests
- Rewrite example to use this module
- Release it on npm.
How to use it
First of all, install it with
npm install rnrf-relay-renderer --save
Then you will be able to pass it to the
react-native-router-flux scene definition.
// importing Renderer from libraryimport RelayRenderer from 'rnrf-relay-renderer'// then we include it to `wrapBy` option. Note function calling// we can per-configure Renderer here. See API section.<Router = =><Scene ="root"><Scene="Countries"==/><Scene="Country"==/><Scene="City"==/></Scene></Router>
to be done