title: React: Fetching data after `componentDidMount`
body: <p>I have a general question about good practice for React data fetching. </p>
  
  <p>In general, all of the tutorials I have read suggest fetching data in <code>componentDidMount</code>. So my lifecycle looks like this </p>
  
  <pre><code>render
  componentDidMount
      fetch ... setState
  render
  </code></pre>
  
  <p>Now I have buttons which, when clicked, should fetch more data. But <code>componentDidMount</code> will not be called again. So what is the best practice for calling <code>fetch</code> again after <code>componentDidMount</code> has already been called?</p>