40 ms·
That was enjoyable to play with! Thanks for sharing. I think it would be nicer if it didn't use the anchor tag for storing data which messes up history, espec
by lukevp 6y ago
That was enjoyable to play with! Thanks for sharing. I think it would be nicer if it didn't use the anchor tag for storing data which messes up history, especially since it has a built-in share that generates a URL that can recreate the song. It would be cool if it just read the URL in once on load and didn't update it unless share was clicked.
- thinkloop 6y agoTo me the mistake is not having the back/forward buttons honor the different states. It would be a nice built-in undo/redo.
- irshadshalu 6y agoHey. Author here. The history issue is fixed now :). I ended up using replaceState instead of pushState