News for hackers. Stuff that matters.
Re:Why does everyone suddenly hate Single Page Apps? by ovao on Friday February 24, 2023 @09:05PM (#34933040)
> Client devices are sufficiently performant for anything you throw at it

Possibly true of the devices themselves (although dubious generally), but definitely not true of wireless networks. If you can deliver a rendered page in 10 KB versus a 1 KB doc and 120 KB of framework to render that same page, you win. That’s true regardless of whether it’s a 3G connection or 5G.

SPAs can hold a small advantage in the aggregate, so if you expect your users to be bouncing around routes quite often within a session, you might amortize the cost of the view framework and bundles, but that’s probably not the typical case on mobile, particularly in developing regions.

Re:Why does everyone suddenly hate Single Page Apps? by roncesvalles on Friday February 24, 2023 @09:12PM (#34933088)
120 KB is largely overblown. Especially with gzip, it reduces even further. There aren't many countries left where the time to load 1 KB vs 120 KB on mobile or broadband Internet would be noticeable.