News for hackers. Stuff that matters.
Re:New React docs pretend SPAs don't exist anymore by tshaddox on Friday March 17, 2023 @08:23PM (#35204676)
This only happens now with an SPA due to laughable incompetence or deliberate disregard. You have to go out of your way to not use whatever Link component or similar tool provided by your SPA library/framework of choice. Any team that incompetent or negligent would be just as likely to break link behavior even if they aren’t using an SPA.

I’m surprised the criticism is still ubiquitous: it’s either 5+ years out of date or some people run into these terrible sites a lot for some reason.

Re:New React docs pretend SPAs don't exist anymore by astura on Friday March 17, 2023 @08:38PM (#35204787)
These criticisms are still ubiquitous because these sites are still ubiquitous.

For example, less than 2 years ago someone did a "Show HN" of a Shopify front end that was literally almost entirely nonfunctional.

https://news.ycombinator.com/item?id=27182932

Re:New React docs pretend SPAs don't exist anymore by tshaddox on Friday March 17, 2023 @08:46PM (#35204833)
Has that page changed a lot since then? Every link out of a dozen or so that I quickly checked were all real <a> tags that worked fine with middle- and right-clicking. I couldn't reproduce the back button behavior in your complaint either.
Re:New React docs pretend SPAs don't exist anymore by astura on Friday March 17, 2023 @08:53PM (#35204878)
Yeah, Looks like the store has been fixed.