title: React how to render page after query change in URL
body: <p>I'm facing a problem :</p>
  
  <p>I access a URL, for example:</p>
  
  <p><a href="http://localhost:900/user" rel="nofollow noreferrer">http://localhost:900/user</a>  </p>
  
  <p>In my page i have an array. When I click on an pagination button for change page in array, my fonction changePage is called, the URL changes for add search query, my page re render because i use setState({page}), so far so good. New URL : <a href="http://localhost:900/user?page=2" rel="nofollow noreferrer">http://localhost:900/user?page=2</a>  (Attention the pathname has not changed, i just add search query) </p>
  
  <p>If i click on next page again, the url change to <a href="http://localhost:900/user?page=3" rel="nofollow noreferrer">http://localhost:900/user?page=3</a> and my page re render. It's perfect.</p>
  
  <p>Now, i press the back button in the Browser, the location changes back to <a href="http://localhost:900/user?page=2" rel="nofollow noreferrer">http://localhost:900/user?page=2</a> but the page does not re render.</p>
  
  <p>How to re render page if user press the back button in the Browser and not on the last page on application ?</p>
  
  <p>I use :<br>
  react : "16.3.2",<br>
  react-dom : "16.3.2",<br>
  react-redux : "5.0.7",<br>
  react-router-dom : "4.2.2",</p>
  
  <p>EDIT: 
  when i use listen function after create BrowserHistory, and i press previous browser page:  </p>
  
  <pre><code>const history = createBrowserHistory();
  history.listen((location, action) =&gt; {
    // location is an object like window.location
    console.log(action, location.search);
  });
  </code></pre>
  
  <p>the location.search was good. </p>
  
  <p>My problem is only when i use the arrows of the browser in the same page. When i go in other page and i go back to the page, the url is good to and my array is reload with the good informations</p>