Home / Type/ HydrateScriptOptions Type — astro Architecture

HydrateScriptOptions Type — astro Architecture

Architecture documentation for the HydrateScriptOptions type/interface in hydration.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  380034bc_0d4a_2e60_0fa4_b6aabbc47dc0["HydrateScriptOptions"]
  5c9b16ff_599b_b1b0_fd4a_a24ff528fd5b["hydration.ts"]
  380034bc_0d4a_2e60_0fa4_b6aabbc47dc0 -->|defined in| 5c9b16ff_599b_b1b0_fd4a_a24ff528fd5b
  style 380034bc_0d4a_2e60_0fa4_b6aabbc47dc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/server/hydration.ts lines 117–123

interface HydrateScriptOptions {
	renderer: SSRLoadedRenderer;
	result: SSRResult;
	astroId: string;
	props: Record<string | number, any>;
	attrs: Record<string, string> | undefined;
}

Frequently Asked Questions

What is the HydrateScriptOptions type?
HydrateScriptOptions is a type/interface in the astro codebase, defined in packages/astro/src/runtime/server/hydration.ts.
Where is HydrateScriptOptions defined?
HydrateScriptOptions is defined in packages/astro/src/runtime/server/hydration.ts at line 117.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free