Recently I was working on a bug which requires me to identify if the user explicitly reloaded the page. Whenever user make any request I create a new search id (which is just the hash of the request) and push it into the useHistory and set the state to the request body
useHistory() will provide me with bunch of data one of which is Action
Though I could find the data related to state in window.history
I couldn’t find the Action
there. So the question is, if not window
where is this data stored?