title: react router - Redirection after login
body: <p>Could you please help me in understanding  the redirection mechanism I could use with latest version of <strong>react router ( v1.1.0 )</strong> . I would like to redirect to a <code>url</code> depending on the success or failure of <strong>user login</strong> .
  I have tried to do the following 
  First created a history using.</p>
  
  <pre><code>let history = createBrowserHistory();
  </code></pre>
  
  <p>then tried to push the state using</p>
  
  <pre><code>history.pushState(null, 'abc')
  </code></pre>
  
  <p>Nothing is happening. Could you please let me know the correct way to do transitions .From the docs I understood that <code>transitionTo()</code> API is not present in the latest versions.
  It will be great If you could point to a simple working example .</p>
  
  <p>Thanks in advance.</p>