|
|
|
|
|
by sfusato
1877 days ago
|
|
You would have latency in all apps that require a server round-trip regardless of the stack used. When you need to go to the server, you go to the server. There's no other way around it. I would be curious to hear how you solve this in other stacks? SPAs, whatever, when they need something from the server, they reach for the server. |
|
in liveview server renders me the list view, i click details, server renders me details view, i click delete button, server renders me the list view.
if there's big latency/connection error/etc between clicking delete and getting back the rendered list - user just has to wait.
in spa i could optimistically assume that delete worked and render the list that i already have cached without the deleted item, allowing user to continue working immediately and if there was a disconnect/error - i could retry that delete in the background without bothering user, only prompting them after some number of retries.
don't see how could i implement this workflow in liveview.