title: How to trigger manually a change of the route, with react-router-v4, like <Link> do it, but manually inside a function?
body: <p>I'm working on a project with <strong>React</strong> and <strong>react-router-v4</strong>,  and
  I'm trying to find a way to trigger a change of the route manually.</p>
  
  <p>something like <code>&lt;Link to="/newpage"&gt;</code> component, which takes you to a new route.</p>
  
  <p>but I want to do it manually from inside one of my methods, </p>
  
  <p>something like <code>this.router.location = "/newpage"</code>.</p>