> if people chose the wrong tool for the job and use a 1MB SPA to serve a landing page, that is where things go wrong
That is exactly the case. Can’t really blame
the people when every learning resource, react evangelist, tweet and post points you towards that.
> If however, every link click, every route change, every interaction triggers a SSR server roundtrip, the app will not feel snappy during usage.
SPAs still do the same, maybe more round trips for API requests, we all know how endemic loading spinners have become. Rendering HTML does not meaningfully affect server response times. And frameworks like Datastar (used in this benchmark), htmx, alpine allow you to avoid full page loads.
That is exactly the case. Can’t really blame the people when every learning resource, react evangelist, tweet and post points you towards that.
> If however, every link click, every route change, every interaction triggers a SSR server roundtrip, the app will not feel snappy during usage.
SPAs still do the same, maybe more round trips for API requests, we all know how endemic loading spinners have become. Rendering HTML does not meaningfully affect server response times. And frameworks like Datastar (used in this benchmark), htmx, alpine allow you to avoid full page loads.