3 ms·
>The main one is that the browser loses its state at each page reload, and that the state on the server, if any, needs to be reconciled every time with that on
by imtringued 6y ago
>The main one is that the browser loses its state at each page reload, and that the state on the server, if any, needs to be reconciled every time with that on the browser.
Yes, I also noticed this flaw. There is no good way of dealing with this other than saving state into localStorage which is less than ideal.
- astura 6y agoTraditionally you'd save it in the session on the server
- jdbernard 6y agoAnd that really underscores the OP's point. With SPAs your servers no longer need to scale linearly with your user base. You don't have to solve all the myriad problems that come with maintaining state for all users in a centralized location.