optimistic-ui-patterns
Installation
SKILL.md
Optimistic UI Patterns
Overview
Optimistic UI updates the interface before the server confirms a mutation.
Instead of waiting for the round trip:
Click -> Request -> Response -> UI changes
the application behaves like this:
Click -> UI changes immediately -> Request -> Confirm or rollback
This makes products feel much faster, but it shifts complexity into rollback, reconciliation, and failure handling.