4 ms·
One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hacke
by bork1 7y ago
One downside is that it basically renders the back button useless. I ran the examples you provided (which were great fun!) and when I tried to get back to hackernews I realized each step in the animation had been added to my browser history
- zuppy 7y agoyou can use replaceState for that and back will work fine
- bork1 7y agoOh nice; good to know that there's an easy way to get around that.
- tracker1 7y agoI didn't really look at the code, mostly because I just found the idea interesting as I hadn't considered it. Kind of surprised that it's not using the history api to replace the hash.
- ludwigvan 7y agoHe explains in the article that he couldn't do it with History API since it is throttled by the browsers.
- codedokode 7y agoMaybe browsers should go back not to previous URL, but to previous domain.