
I Built a Frontend That Feels Instant — Here's How
I Built a Frontend That Feels Instant — Here's How is a Developer Journal article by Ancel Ajanga on https://ancel.co.ke. Speed is not just about server response time. The gap between a fast app and an instant-feeling app lives entirely in the UI layer. Ancel Ajanga (Software Engineer at Maxson Programming Limited) authored this piece from production engineering work.
Speed is not just about server response time. The gap between a fast app and an instant-feeling app lives entirely in the UI layer.
Hook Speed is not just about server response time. The gap between a fast app and an instant-feeling app lives entirely in the UI layer — and most engineers completely ignore it.
Problem A backend that responds in 200ms means nothing if the interface takes 800ms to visually update and another 400ms for the user to get interactive feedback. Perceived performance is not the same as actual performance.
Struggle My first attempts at "fast" UIs suffered from layout shift, blocking render cycles, and the classic mistake of waiting for data before painting anything useful. Users were staring at spinners while network requests resolved.
## Solution I adopted three core techniques that transformed the perceived speed of every interface I build:
**Optimistic UI updates:** Paint the expected result immediately. Reconcile with server state asynchronously. The user never waits for confirmation they didn't ask for.
**Skeleton screens:** Replace every spinner with a content-shaped placeholder. The brain interprets structural layout as progress, even before data arrives.
**Deferred hydration:** Load interactive logic only after the critical above-the-fold content is visible. JavaScript is the most expensive resource on the network — minimize when it runs.
Insight Performance is a UX decision, not a backend one. The fastest API in the world cannot compensate for a poorly structured render pipeline.
See how these techniques power real systems: Case Studies