You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.
This completely destroys my browser history. After playing around with this for a bit yesterday, I had to delete literally thousands of browser history entries.
Instead of setting location.href it should use history.replaceState. That way I keep a single history entry that gets updated with the state. Selecting an example could push a new history entry, but all other edit actions shouldn't.
The text was updated successfully, but these errors were encountered:
If browsers aren't respecting that then I think you need to stop rewriting the URL on every keypress and instead provide a button that updates the URL. As it is, I cannot use the typescript playground because of how thoroughly it destroys my history; at best I can type up my code into another editor, then copy and paste it into the playground.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This completely destroys my browser history. After playing around with this for a bit yesterday, I had to delete literally thousands of browser history entries.
Instead of setting
location.href
it should usehistory.replaceState
. That way I keep a single history entry that gets updated with the state. Selecting an example could push a new history entry, but all other edit actions shouldn't.The text was updated successfully, but these errors were encountered: