Partial Hydration — оптимизация rendering: вместо загрузки + гидратации всего React app, hydrate только компоненты, которые требуют клиентской interactivity. Zero JS для static-read-only блоков. Implementations: Islands (Astro), RSC (Next.js), Resumability (Qwik), Progressive Hydration (Marko).
Ниже: подробности, пример, смежные термины, FAQ.
// Astro — client directives
<StaticHero /> {/* zero JS */}
<LikeButton client:load /> {/* hydrate immediately */}
<Comments client:visible /> {/* hydrate when scrolled to */}
<CartModal client:media="(max-width: 768px)" /> {/* mobile only */}Yes: download 200 KB React + 50 KB your code, execute всё, re-render server HTML. TBT огромный на mobile.
Вместо hydration — serialize closures в HTML attributes, lazy-load on event. Zero initial JS для complex apps.
Lighthouse Speed Index + TBT. Partial hydration drops от 3s → 0.3s на typical blog.