title: Change URL and call redux action to get the data in react redux application
body: <p>can anyone tell me how to call an action when you change the URL of the Route in server side react redux component with react-router for routing.</p>
  
  <p>I am using <strong>browserHistory</strong> of react-router to push my inputs to url.</p>
  
  <pre><code>import React from 'react';
  import { connect } from 'react-redux';
  import { browserHistory } from 'react-router';
  
  class findBirthdays extends Component {
    constructor(props){
      super(props);
    }
  
    openCalender(){
      // here I open the date picker and let user select the date
      // then I add that date in the URL as "localhost:3000/find/?date=22-02-2017"
      // here I get confused as I do not know now how to dispatch the action or
      // how to access url params in a specific actions after dispatching that action
    }
  
    render(){
      return (
        // repeating all the birthday that are available on selected date
      )
    }
  }
  
  const mapStateToProps = (state) =&gt; {
    return {
      birthdayList: state.birthdays,
    };
  };
  
  export default connect(mapStateToProps)(findBirthdays);
  </code></pre>
  
  <p>I have many inputs and on every input change event, will be appending the URL and that should lead to dispatching an action and getting the proper results.</p>
  
  <p>I am new to react and redux, so if anyone can suggest if this can be done or how to approach this problem that would be helpful.
  Thanks guys.</p>