React-Router's Link-To updates the URL but doesn't refresh page
You'll receive new parameters in props and thus you only need to run fetchData
or any other logic in componentWillReceiveProps
or componentWillUpdate
.
You'll receive new parameters in props and thus you only need to run fetchData
or any other logic in componentWillReceiveProps
or componentWillUpdate
.