Optimistic UIs in under 1000 words

rw-book-cover

Metadata

Highlights


Optimistic UI Optimistic UIs don’t wait for an operation to finish to update to the final state. They immediately switch to the final state, showing fake data for the time while the real operation is still in-progress. (View Highlight)


When designing the error message there are some points to consider: 1. Salience. The notification should be visible, user should not miss it (especially when user uploads data, etc); 2. Causality. The user should be able to understand which action caused this error. We already updated the UI, the action is “finished” in the mind of the user. (View Highlight)