In the current version of React Router (v3) I can accept a server response and use browserHistory.push to go to the appropriate response page. However, this isn
browserHistory.push
this.context.history.push will not work.
this.context.history.push
I managed to get push working like this:
static contextTypes = { router: PropTypes.object } handleSubmit(e) { e.preventDefault(); if (this.props.auth.success) { this.context.router.history.push("/some/Path") } }