News for hackers. Stuff that matters.
Re:If Not SPAs, What? by candiddevmike on Wednesday October 28, 2020 @06:49PM (#24925069)
Which part breaks your back button?
Re:If Not SPAs, What? by ceejayoz on Wednesday October 28, 2020 @06:52PM (#24925092)
On my browser (Firefox, on OSX) it loads /loading then /login. When I go back, that takes me back to /loading, which forwards me to /login again immediately.

Going back requires holding down the back button so I can skip that history record. Illustrated: https://imgur.com/a/zFaGw4a

(Quite a few sites screw this up. It's very annoying.)

Re:If Not SPAs, What? by candiddevmike on Wednesday October 28, 2020 @06:54PM (#24925119)
This is great, thank you for sharing. We primarily test in Chrome which doesn't seem to display this for whatever reason. Should be an easy fix to remove the history for the loading page.
Re:If Not SPAs, What? by ceejayoz on Wednesday October 28, 2020 @06:55PM (#24925126)
For what it's worth, the same happens in my Chrome.

(Maybe you're logged in and don't get the behavior because of that?)

Re:If Not SPAs, What? by candiddevmike on Wednesday October 28, 2020 @07:15PM (#24925268)
Should be fixed now if you want to try again :)
Re:If Not SPAs, What? by mercer on Thursday October 29, 2020 @08:10AM (#24929629)
I like how this whole thread highlights just one of the problems of SPA's. It's not exactly an endorsement!
Re:If Not SPAs, What? by vmception on Wednesday October 28, 2020 @06:50PM (#24925078)
on ios safari when I click that link, and then swipe back or press back, instead of showing me this hackernews thread it shows me that site again