logoalt Hacker News

int_19h05/03/20252 repliesview on HN

My biggest annoyance with SPAs is that they usually break forward/back/history in various subtle (or not so subtle) ways.

Yes, I know that this can be made to work properly, in principle. The problem is that it requires effort that most web devs are apparently unwilling to spend. So in practice things are just broken.


Replies

skydhash05/03/2025

An additional one for me is stale state. I can leave most webpages open for days, except SPAs. Especially on mobile.

show 2 replies
jefozabuss05/03/2025

I still have some ptsd from payment gateway integrations via iframes about 6-7 years ago. If you thought SPAs are bad by themselves for history tracking imagine those banking iframes randomly adding more entries via inside navigation/redirection that you have to track manually.

show 1 reply