Hacker News new | past | comments | ask | show | jobs | submit login

SPAs often require an uninterrupted internet connection even if it’s not technically necessary.



Many of them use 'websockets', which break when you have interrupted connectivity.


That’s not been my experience, but you may be right. Why do they require an uninterrupted internet connection?


Because they break when a request fails. MPAs have a request resubmission UI out of the box. They also have request history navigation, easy resource bookmarking and other stuff you can reimplement in an SPA but usually don't.


I don’t know. Recently I was viewing an image in the Discord web app and it suddenly disappeared because my device had lost connection, even though the image was already fully loaded in the browser.


I mean to be fair, MPAs are by definition unusable without a consistent internet connection. By design every meaningful interaction needs to communicate with a server.


MPAs only need connection when navigating to a new page. It is not needed when reading a page.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: