Frontend · interactive
Optimistic updates
You tap Like. The server takes 800 ms to confirm. Waiting feels sluggish; updating the screen immediately and assuming success feels instant, but you need a plan for when the server says no.
t = 0 ms · tap
Post by Ada: “Shipped the new dashboard!”
♥ Liked42
- 0ms
- 50ms
- 400ms
- 800ms
- 850ms
- 1200ms
The heart fills instantly. The request runs in the background.
Approach
Server responds
Step 2 of 4 · read left to right
In production
Tools and technologies
Snappy apps update the UI before the server confirms.
Not tied to one language — use these names when you search docs or design a system.