Watch
Optimistic UI 0:48
A 48-second explainer of Optimistic UI, narrated over the same demo you can try yourself.
Try the interactive Optimistic UI demo
What this video covers
Optimistic UI updates the screen the instant you act - as if the action had already succeeded - and quietly confirms with the server in the background. It bets that the request will work (it nearly always does), so the interface feels immediate instead of making you watch a spinner wait on the network.
Optimistically, the action felt done the instant you tapped - no spinner, no wait, because the screen didn't ask the network's permission first. Pessimistically, the same tap left you watching a loader while the request travelled and returned. Same outcome; one just stopped making you wait to see it.