Comment on Redirect to prevent back button

<- View Parent
scrubbles@poptalk.scrubbles.tech ⁨3⁩ ⁨months⁩ ago

It’s not for this, of course. It’s because in the world of single page applications built in react and angular where there is no physical back, like no actual server page to go back to just JavaScript, you have to code in what the back button means. Even though there’s no server calls to ask for a new page. New page. Most people still expect that forward and back will still go forward and back in standard navigation.

Sites like this it’s pretty clear that they just overwrite that with the last 20 calls to their own page, but the alternative is that single page applications would not be able to have forward or back functionality

source
Sort:hotnewtop