Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> "tracking the state server-side" is a _major_ pain in the butt compared to having client-side state.

The issue with many SPAs I saw was that state had to be managed BOTH in the browser AND on the server. This resulted in more code, longer time to market, and reduced velocity.

The SPA route can be a requirement (e.g. when a highly interactive UX is warranted), in that case there's no way around it. But when it's simply a bunch of forms in a business app, that's usually not the case: in those cases I'd go with a traditional "multi page app" and/or HTMX.



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

Search: