title: Why react-router fires push and pop action when replacing path?
body: <p>I've a react app. In a component I have a Link comp from the react-router.
  When I click on the link the router fires a push and a pop action?
  Is it normal? This way I don't know how can I solve a problem.
  I have a route setup like this: example/:param
  and when I'm on this path how can I listen properly for the param segments change?</p>
  
  <p>Code:</p>
  
  <pre><code>class Example extends Component {
      fetch(param) {
          // ajax stuff
      }
      componentWillMount() {
          this.fetch(this.props.param);
      }
  
      componentWillReceiveProps(nextProps) {
          this.fetch(nextProps.param);
      }
  
      render() {
          // render stuff
      }
  }
  
  const stateToProps = (state, ownProps) =&gt; {
      return {
          param: ownProps.params.param,
      };
  };
  
  export default connect(stateToProps, {})(Profile);
  </code></pre>
  
  <p>This way componentWillReceiveProps runs twice beacuse router fires push and the pop action.</p>
  
  <p>Thx for any help/advice,
  Akos</p>