Common questions
What is hydration cost on the frontend?
Hydration is the work to attach client JavaScript to server-rendered HTML so components become interactive. It delays interactivity and can cause layout shift if markup and state disagree.
How do you reduce hydration cost?
Ship less JavaScript, hydrate only what needs interactivity, use islands or progressive enhancement, and avoid hydrating decorative or static regions.
Is server rendering enough for performance?
SSR improves first paint, but users still pay for download, parse, and hydration. Measure Total Blocking Time and Interaction to Next Paint, not HTML alone.