title: Cannot read property 'skip' of undefined
body: <p>I am using react-apollo for graphql query. I want to show a single object for category so for that I need an id
  which I can get from navigation.state.params.id. I did the following but I am getting an error of "Cannot read property 'skip' of undefined " . How should I solve this issue? </p>
  
  <p>Here is my code </p>
  
  <pre><code>class CategoryDetail extends React.PureComponent {
    render() {
      console.log("props in detail", this.props);
      return (
        &lt;View style={{ flex: 1 }}&gt;
          &lt;Text&gt;Category View&lt;/Text&gt;
        &lt;/View&gt;
      );
    }
  }
  
  const CATEGORY_DETAIL_QUERY = gql`
    query CATEGORY_DETAIL_QUERY($id: ID!) {
      category(id: $id) {
        id
        name
      }
    }
  `;
  
  export default graphql(CATEGORY_DETAIL_QUERY, {
    options: props =&gt; {
      variables: {
        id: props.navigation.state.params.id;
      }
    },
  })(CategoryDetail);
  </code></pre>