title: How to fetch Data in Common Component from different Routs?
body: <p>I'm create the Common Component for show team info for Different Department. Department list is create dynamically e.g 
  I have two URL "department/2/team" and department/3/team"</p>
  
  <p>2 and 3 are the department id i fetch this with  match.params.id. when i Click on the first department link it show the info of there team. but i click the next department link URL change and params update but the list of team not updated. </p>
  
  <p>I will fetch team info in the componentWillMount method. when i fetch team info in the componentWillUpdate / componentDidUpdate it will create the loop.</p>