@kiwicom/react-native-app-relay

This package allows you to render Kiwi.com Frontend GraphQL queries and mutations.

this package has been deprecated
Last updated 3 years ago by tbergq .
Original npm · Tarball · package.json
$ cnpm install @kiwicom/react-native-app-relay 
SYNC missed versions from official npm registry.

This package allows you to render Kiwi.com Frontend GraphQL queries and mutations.

<PublicApiRenderer
  query={graphql`...`}
  render={(propsFromRenderer: Object) => <Component />}
  cacheConfig={{
    force: true, // do not cache the request (default: false)
  }}
/>
<PrivateApiRenderer
  // same props as PublicApiRenderer + these:
  accessToken="..." // this means user is logged in
  render={<LoginComponent />}  // component to render if user not logged in
/>
commitMutation({
  // see config object: https://facebook.github.io/relay/docs/en/mutations.html
})

Current Tags

  • 0.0.1                                ...           latest (3 years ago)

1 Versions

  • 0.0.1 [deprecated]           ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |