News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by jjbiotech on Wednesday August 07, 2019 @04:30PM (#20638632)
Mangling back button functionality isn't inherent of SPAs.
Re:Why is modern web development so complicated? by nfgu on Wednesday August 07, 2019 @05:13PM (#20639149)
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.

Re:Why is modern web development so complicated? by ehutch79 on Wednesday August 07, 2019 @05:28PM (#20639309)
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.