title: Where to set state of a react component with values from URL params
body: <p>I need to set state of a react component with values taken from the query parameters of the router/URL.</p>
  
  <p>In which lifecycle method do I set the state with these params</p>
  
  <p><code>constructor</code>, <code>componentDidMount</code>, <code>componentWillMount</code> or any other?</p>