Is there any way I could persist react route history on page reload and pass it to my component. Ex:- I am on a dashboard component with link "/" then I go to another component using link "/ab" then I go to another component using Link "/bcd".
Flow = "/"->"/ab"->"/bcd"
Now when I reload the page when I am on "/bcd" the router is not persisting the older routes. So as a result I can't return to the previous components/pages. How could I return to previous components even after page reload?
I am using HashRouter. and React-router version is 4.3.0