In the current version of React Router (v3), you can accept a server response and use
browserHistory.push to go to the appropriate response page. However, this isn't available in v4 and you have to go about it a different way.
You can use the
history methods outside of your components…