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

It’s a pretty unconventional way to do it these days, but blow it all away and load the page fresh from the server.

Maintaining a consistent state is very difficult at the best of times. This obviously has implications for the backend, it needs to respond quickly and the page render in a decent time(minimal libraries).



It really depends. For a "regular" website or blog, I agree. I think people over use complicated web frameworks to just serve what amounts to a mostly static page.

But the approach just doesn't work for things like Slack, Figma, Google docs. When you're trying to create an experience that's somewhat similar to a native application on the web, you need to start worrying about local state.


Personally, to the degree that I ever distinguish between “web apps” and just normal sites, one of the distinguishing features of web apps for me is whether forcing a page reload on the majority of interactions would be unacceptably clunky to most users.

Provided page reloads are fast, I think far more sites would be completely fine with just being sites and not rich client apps.




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

Search: