Say on your clickHandler
you do
// url change will cause this component to be dismounted and a new component will mount
history.push(url)
// do some more work
dispatch(someMoreWork())
What happens to the code after the push call? is the code guaranteed to run?