Actually you cannot. But you can try to keep the list in a state browserHistoryand click the new path in it when redirecting.
let history = this.props.location.state.history;
history.push(this.props.location.pathname)
browserHistory.push({
pathname: '/yourpath',
state: { history: history }
})
Run codeso you have to find your whole story in this.props.location.state.history
source
share