Lesson 18 of 30
A server-rendered page can look fully loaded and still not respond to a click, because looking interactive and being interactive are two different moments separated by real, measurable work.
13 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
Question 1 of 3
Which Core Web Vital is most directly affected by a user clicking on a page during the hydration gap?
Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
You already know what hydration is at a mechanical level: attaching event listeners and reactivity to server-rendered HTML that's already sitting in the DOM. What matters here is the performance gap that process opens up. The page is painted — a user can see it, read it, and reasonably assume it works — before it's interactive, because hydration hasn't finished running yet. If a user clicks a button in that gap, nothing happens, or the click is queued and handled late. That's a real, measurable cost, and it shows up directly in INP: a click that lands during hydration has to wait for hydration's JS to finish before the browser can even begin processing it.
The size of that gap scales with how much JavaScript has to run before the page is considered "hydrated." A small, simple page hydrates in a few milliseconds and the gap is invisible. A large page with a lot of components hydrating all at once can leave a user staring at a page that looks done but isn't, for a genuinely noticeable stretch.
Every mitigation pattern here is really the same idea, applied more or less aggressively: instead of hydrating the entire page in one pass the moment JS is ready, hydrate only what actually needs to be interactive, prioritized by what the user needs first.
"The page looks loaded instantly but feels janky for the first second or two when a user interacts with it — why, and what would you do about it?" is a real senior-level question, and naming the hydration gap's effect on INP, plus a concrete mitigation like selective hydration or islands, is a much stronger answer than assuming the page is simply "slow."