title: React alternative to transitionTo react-router-dom 4.1.1 transition in function
body: <p>I was playing with the react-router-dom alpha and 'transitionTo' was an available method for route change. This seems removed from 4.1.1 just curious what the best method for this would be. Im trying to capture what is entered in the input and use it as part of the dynamic route. The relevant code from inside my component is below.       </p>
  
  <pre><code>goToRoute(event) {
            event.preventDefault();
            this.context.router.transitionTo(`route/${this.storeInput.value}`)
          }
  
    render() {
      return (
        &lt;form onSubmit={(e) =&gt; this.goToRoute(e)}&gt;
          &lt;h2&gt;Please Enter Name&lt;/h2&gt;
          &lt;input type="text" required placeholder="Enter Name" ref={(input) =&gt; {this.storeInput = input } } /&gt;
          &lt;button type="submit"&gt;Lets Go&lt;/button&gt;
        &lt;/form&gt;
     )
   }
  
  ComponentName.contextTypes = {
    router: React.PropTypes.object
  }
  </code></pre>