title: How to execute query on every click using useLazyQuery()
body: <p>Using <code>useLazyQuery()</code> hooks from <code>@apollo/react-hooks</code> I was able to execute a query on click of a button. But I cannot use it execute same query on consecutive clicks.</p>
  
  <pre><code>export default ({ queryVariables }) =&gt; {
    const [sendQuery, { data, loading }] = useLazyQuery(GET_DIRECTION, {
      variables: queryVariables
    });
  
    return &lt;div onClick={sendQuery}&gt;Click here&lt;/div&gt;;
  }
  </code></pre>
  
  <p>In the above the <code>sendQuery</code> executes only once.</p>