title: Prevent API call if data present in redux store
body: <p>I have 2 routes <code>/dashboard</code> and <code>/battery</code>, on <code>/dashboard</code> I call my API on <code>componentWillMount()</code>, then once I receive the response using redux I do <code>componentWillReceiveProps()</code> to update my state and its working fine, but if I navigate to /battery using react-router-dom and then want to come back to /dashboard, how can I prevent API calls because the data is already present in redux-store.</p>
  
  <pre><code>// To go to the /battery I do
  history.push('/main/battery')
  
  // To go to the /dashboard I do
  history.push('/main/dashboard')
  
  // Dashboard Component (/main/dashboard)
  componentWillMount() {
    this._callAPI()
  }
  componentWillReceiveProps(nextProps) {
    // update state
  }
  </code></pre>