SSRLoadedRendererValue Type — astro Architecture
Architecture documentation for the SSRLoadedRendererValue type/interface in internal.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2aad898d_9a73_c973_cd20_c183186821ab["SSRLoadedRendererValue"] 5f8ae14a_9d99_50ef_07ac_b89e2336f3ca["internal.ts"] 2aad898d_9a73_c973_cd20_c183186821ab -->|defined in| 5f8ae14a_9d99_50ef_07ac_b89e2336f3ca style 2aad898d_9a73_c973_cd20_c183186821ab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/types/public/internal.ts lines 18–38
export interface SSRLoadedRendererValue {
name?: string;
check: AsyncRendererComponentFn<boolean>;
renderToStaticMarkup: AsyncRendererComponentFn<{
html: string;
attrs?: Record<string, string>;
}>;
supportsAstroStaticSlot?: boolean;
/**
* If provided, Astro will call this function and inject the returned
* script in the HTML before the first component handled by this renderer.
*
* This feature is needed by some renderers (in particular, by Solid). The
* Solid official hydration script sets up a page-level data structure.
* It is mainly used to transfer data between the server side render phase
* and the browser application state. Solid Components rendered later in
* the HTML may inject tiny scripts into the HTML that call into this
* page-level data structure.
*/
renderHydrationScript?: () => string;
}
Defined In
Source
Frequently Asked Questions
What is the SSRLoadedRendererValue type?
SSRLoadedRendererValue is a type/interface in the astro codebase, defined in packages/astro/src/types/public/internal.ts.
Where is SSRLoadedRendererValue defined?
SSRLoadedRendererValue is defined in packages/astro/src/types/public/internal.ts at line 18.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free