hydration-patterns

Explain hydration strategies for server-rendered HTML and client interactivity.

35|5|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/Kinfe123/fm-skills --skill hydration-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hydration-patterns
Source: https://github.com/Kinfe123/fm-skills/tree/main/hydration-patterns
Command: npx skills add https://github.com/Kinfe123/fm-skills --skill hydration-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hydration patterns explain how server-rendered HTML becomes interactive on the client, helping teams choose when and how to attach JavaScript and initialize state for optimal performance.

Core Features & Use Cases

  • Full Hydration: Attach all client interactivity to the entire page.
  • Partial/Progressive Hydration: Hydrate critical components first, deferring others.
  • Islands Architecture: Isolate interactive components to minimize JS.
  • Streaming/Resumability: Leverage streaming SSR or resumable models to reduce initial payload and time to interactive.
  • Use Case: You run a content site where the header is static, and the product grid is interactive; islands let you ship JS only for the grid.

Quick Start

Identify a sample page, map interactive parts to a hydration strategy (full, partial, islands, or resumability), and compare impact on Time to Interactive with your framework.

Frequently Asked Questions about hydration-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the difference between full hydration and islands architecture?

Full hydration attaches interactivity to the entire server-rendered page, while islands architecture isolates interactive components to minimize JavaScript, shipping code only for specific interactive parts.

How do I choose the right hydration strategy for my web app?

To choose a hydration strategy, map interactive page parts to full, partial, islands, or resumability models, then compare their impact on Time to Interactive within your framework.

When should I use partial hydration over streaming SSR?

Use partial hydration to hydrate critical components first and defer others, whereas streaming SSR focuses on reducing initial payload by sending HTML chunks as they become available.

Does resumability eliminate the need for client-side hydration?

Resumability leverages a resumable model to reduce initial payload and avoid re-executing JavaScript, allowing server-rendered HTML to resume execution on the client without full hydration.

What are the tradeoffs of progressive hydration for content sites?

Progressive hydration allows content sites to hydrate critical components first and defer others, optimizing Time to Interactive by delaying non-essential JavaScript execution.