Re:In spite of an increase in Internet speed, webpage speeds...
by wnevets on Tuesday August 04, 2020 @04:00PM
(#24053910)
That is what happens when you hire react devs to build your static website.
[ Parent
| on HN ]
Re:In spite of an increase in Internet speed, webpage speeds...
by fermienrico on Tuesday August 04, 2020 @06:15PM
(#24055073)
SPAs are a cancer. There. I said it.
What's wrong with accessing resources in a RESTful way?
A page refresh? At this point, a page refresh is so much more bearable than a 2300ms SPA download and hang ups.
As an added bonus, you can bookmark resources. Back button works!
Re:In spite of an increase in Internet speed, webpage speeds...
by lolinder on Wednesday August 05, 2020 @09:17AM
(#24060435)
Most SPA frameworks work fine with the back button and bookmarks--they'll either use the URL fragment (#) or the history API. I'm sure there are lots of developers who don't bother to turn on that functionality, but that's not an inherent flaw with SPAs.
(For the record, I don't think that every app that is an SPA should be, but I do think that they have a place.)