title: React: How to prompt for unsaved changes when navigating with react-router-component
body: <p>Redux state holds flag for unsaved changes, and I want to prompt user when navigating (clicks a Link) if this flag is set. I'm using <a href="https://github.com/STRML/react-router-component" rel="noreferrer">react-router-component</a>. I didn't find how to do this in documentation.</p>