title: Detecting a refresh event in react
body: <p>I'm currently using react redux with a wizard form. I've now run into the issue where I need to persist the data in the form or just refresh the data but let the user know. </p>
  
  <p>Currently everything is stored in multiple redux states. </p>
  
  <p>Is there a way to detect a "refresh" event by a user?I will most likely use local storage, but I'm curious of the first option and wondering if it's possible. </p>