logoalt Hacker News

stavroslast Saturday at 8:23 PM4 repliesview on HN

I disagree, the problem with an SPA is that now you have two places where you manage state (the backend and the frontend). That gives you much more opportunity for the two places to disagree, and now you have bugs.


Replies

procaryotelast Saturday at 8:33 PM

You had to manage state on the frontend even before spa though, if you wanted anything but the most basic experience.

show 2 replies
nine_klast Saturday at 8:35 PM

Unless you can guarantee RTT under 100ms, you have to manage some state on client side, else your UI will feel sluggish.

show 3 replies
ivan_gammellast Saturday at 9:32 PM

Client-server model is known for decades, state management between them isn’t hard.

ajb92last Saturday at 8:43 PM

Who says your backend needs to manage state?

show 1 reply