title: Trying call useQuery in function with react-apollo-hooks
body: <p>I want to call useQuery whenever I need it,</p>
  
  <p>but useQuery can not inside the function.</p>
  
  <p>My trying code is:</p>
  
  <pre><code>export const TestComponent = () =&gt; {
  ...
    const { data, loading, error } = useQuery(gql(GET_USER_LIST), {
      variables: {
        data: {
          page: changePage,
          pageSize: 10,
        },
      },
    })
    ...
    ...
    const onSaveInformation = async () =&gt; {
      try {
        await updateInformation({...})
        // I want to call useQuery once again.
      } catch (e) {
        return e
      }
  }
  ...
  </code></pre>
  
  <p>How do I call useQuery multiple times?</p>
  
  <p>Can I call it whenever I want?</p>
  
  <p>I have looked for several sites, but I could not find a solutions.</p>