top | item 20638632

(no title)

jjbiotech | 6 years ago

Mangling back button functionality isn't inherent of SPAs.

discuss

order

nfgu|6 years ago

Funny thing: in the last couple years I've seen way more back buttons broken because of backend idiossincrasias than anything else.

It is super common to see "Don't use your back button" messages after placing orders on e-commerce websites.

On the other hand, most frontend developers writing SPAs just use react-router or something like that (instead of reinventing the wheel) and it just works.

ehutch79|6 years ago

It's not....

Yet there was a post about how specifically to do that on dev.to because their users couldn't tell their modal was a modal, and the solution they came up with was to hijack the back button.