All jobs / Frontend / web developer / Performance

Frontend / web developer interview question · 3–5 years

A feature flag flips the hero after hydrate (flicker). How do you prevent it?

The strongest answer

Evaluate the flag on the server or from a boot snapshot so the HTML matches; avoid client-only default-off then on

Why it works

Flicker is a hydration mismatch with extra steps. The first HTML must already know the variant.

What a good answer covers

Answers that fall short

Who gets asked this

More Performance questions