remix-run / history

Manage session history with JavaScript
MIT License
8.29k stars 960 forks source link

How to delete whole history #913

Closed dcts closed 2 years ago

dcts commented 2 years ago

Is it possible to delete the whole history that one has created? Use case is a similar as described in issue #876 , when leaving the react webapp one would want to cleanup the history because it needs state variables to be usefull (that are not accessible after a redirect).

Just curious if there is this option and if not what the reasoning behind is.

mjackson commented 2 years ago

Sorry, the browser doesn't let you do that.