Grokking the Modern Frontend System Design Interview
0% completed
Keeping Interactions Fast
A shopper writes to Basket's support team: "When I type in the search box, the letters show up late, as if my keyboard were broken. On my laptop it is fine." The search box suggests products while the shopper types, and the shopper's phone is three years old.
Nothing is broken. Each key press starts work on the main thread, and the browser cannot draw the typed letter until that work ends. On the laptop the work ends quickly enough to go unnoticed; on the phone it does not.
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%