Re:If Not SPAs, What?
by candiddevmike on Wednesday October 28, 2020 @06:49PM
(#24925069)
Which part breaks your back button?
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.
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 :)
I like how this whole thread highlights just one of the problems of SPA's. It's not exactly an endorsement!
nothing to do with the SPA of course