Design Patterns · Junior · Question 67 of 75
What is an optimistic UI update?
- ✓Correct answer: Showing the expected result immediately and rolling back if the server request fails
- 2Hiding errors from the user
- 3Loading all data in advance
Explanation
It makes likes and toggles feel instant. It needs a rollback path and is unsuitable for actions that rarely succeed or can't be undone.