title: ComponentWillReceiveProps called twice with react and redux
body: <p>I have a problem with ComponentWillReceiveProps cycle, because its called twice, I don't know why but I suppose thats happen because Connect react-redux and react-router are implemented. How can I stop this "issue"?</p>
  
  <pre><code>componentWillReceiveProps(nextProps){
      if(this.props.match.url !== nextProps.match.url){
          console.log('its diferent')
      }else{
          console.log('its same url')
      }
  }
  </code></pre>
  
  <p><strong>output</strong>:</p>
  
  <pre><code>// its same url
  // its same url
  </code></pre>
  
  <p>Thanks for your attention. PD: this is not a possible duplicate from [react+redux][2] because that thread doesn't have a correct answer.</p>
  
  <p><a href="https://i.stack.imgur.com/DlWIZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DlWIZ.png" alt="Redux"></a></p>