Optimistic UI
Showing the result of an action straight away, before the server has confirmed it, and putting things back only if it fails.
Also called optimistic updates
Example
You tap 'Like' on a made-up social app and the heart fills in instantly, while the app is still sending the like in the background.
When to use it
Use it for quick, everyday actions that rarely fail, so the app feels fast. If the action fails, undo the change and tell the person. Avoid it where accuracy matters most, like bank transfers (our suggestions).
Watch out
The evidence here is developer documentation, not user research.
The evidence 2 sourced claims
Every sentence on this card traces back to one of these claims, each linked to its source. How we research
An optimistic update shows the expected result immediately, before the server responds (e.g. a Like heart fills in at once); if the action fails, the interface goes back to its previous state.
When an optimistic action fails, the app can catch the error and show a message to the person.