All jobs / Full-stack developer / Frontend

Full-stack developer interview question · 1–3 years

A Next-style SSR page flashes and React logs a hydration mismatch on the header.

What do you fix first?

The strongest answer

Make the first client render match the HTML the server sent — same data, same locale, no `window`-only branches on that path

Why it works

Exactly. Hydration is a diff against the server HTML. Auth, clocks and locale are the usual liars — give the client the same snapshot.

What a good answer covers

Answers that fall short

Who gets asked this

More Frontend questions