Open jimpick opened 5 years ago
Because the new root url redirects to a new document, going back will create a new document.
We probably need to manage history better.
Perhaps we shouldn't create a new document without user interaction, as it is a bit surprising.
the simplest solution here is to use history.replaceState so there's no "back" history entry to go back to
history.replaceState
reworking history handling will also affect https://github.com/ipfs-shipyard/peer-pad/issues/311
Because the new root url redirects to a new document, going back will create a new document.
We probably need to manage history better.
Perhaps we shouldn't create a new document without user interaction, as it is a bit surprising.