title: React Router - Build State from Query String
body: <p>New to React, building a search app where the URL is built up based on search term entered and subsequent filters that are selected. I am updating the query string, not the path, based on search term and selections made. (e.g /?term=movies&amp;selections=action,adventure) I am manually pushing these changes to the query string via browserHistory.push() in Action Creators. I'm not sure of the right pattern to follow to hydrate application state in response to these updates.</p>
  
  <p>I can check query string params in componentWillMount(), on first render to render initial state, and that works fine, but when the browsers back/forward buttons are used I am not sure of the best pattern to follow to rebuild the state.</p>
  
  <p>I am using the following modules on top of React:
  react-redux
  react-router
  react-router-redux</p>
  
  <p>Advice appreciated thanks.</p>