Cancel/Allow react-router transition after confirmation in via dialog box on ComponentWillUnmount
<p>I'm building a Redux application. I want user to confirmation if they want to leave the Component without saving the data or cancel the transition and save it and maybe then leave. </p>

<p>For example, is there any way to stop a component from unmounting? </p>