logoalt Hacker News

oerstedtoday at 5:24 AM0 repliesview on HN

Why not just trigger the fetch on keyDown and show it as soon as the response arrives, as usual?

The time it takes to press a key is a reasonable target to aim at for API latency I suppose, but it is still an arbitrary target. Waiting to display until keyUp just adds more latency if your API is faster. Having it synced with keyUp doesn't make it feel more immediate to me.