3 ms·
Not browser state, but application state. Lot more boilerplate and glue to do that on server side and ferry it back and forth.
by nighthawk454 4y ago
Not browser state, but application state. Lot more boilerplate and glue to do that on server side and ferry it back and forth.
- infogulch 4y agoBut the application is embedded in a browser. Are you saying it's fine to bin all that UI state the moment the user performs a totally normal interaction with their browser? Accidentally hitting back or refresh in a complex SPA and losing the state of the application is one of the most frustrating experiences on the web, right behind trying to hit back or refresh intentionally and being blocked because the SPA overrides those functions.
- nighthawk454 4y agoNo? I simply clarified which state op was referring to. The state of the browser is separate to what's being discussed. SPA's can be good at some state and not others.