interactionsVercel
Hydration-safe Inputs
MUST
MUST: Hydration-safe inputs (no lost focus/value)
Inputs must not lose focus or value after hydration
Bad
Good
Why it matters
In React and other frameworks with hydration, ensure input values and focus states persist from server-rendered HTML through client-side hydration. Losing focus or clearing values frustrates users who have already started typing.
References