News for hackers. Stuff that matters.
Re:Fresh is a new full stack web framework for Deno by pier25 on Tuesday June 28, 2022 @04:35PM (#31912687)
That's one reason.

The other is that those API requests need to be rendered with JS which means downloading the JS upfront + rendering time. JS rendering will always be slower than pure HTML rendering.

I will agree for small apps this is negligible, but for bigger apps this means downloading, parsing, and executing MBs of JS. See the Google Cloud console for example or the Spotify web app.

And yet there is another point which is that with SPAs, ignorant developers can cause more "damage". The other day I opened a simple password recovery form, and it rendered dozens and dozens of divs and downloaded (I shit you not) 2MBs of JS.

Re:Fresh is a new full stack web framework for Deno by postalrat on Tuesday June 28, 2022 @04:51PM (#31912854)
No, usually its some api that's taking 1, 2, 5 or more seconds to respond. Some api written in something that's not javascript.