getComponentExport() — astro Function Reference
Architecture documentation for the getComponentExport() function in server-islands.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 44e4d19a_3d65_b894_526b_74c6427949a1["getComponentExport()"] 4d35505e_dd90_7891_e19a_4730ce8738e2["ServerIslandComponent"] 44e4d19a_3d65_b894_526b_74c6427949a1 -->|defined in| 4d35505e_dd90_7891_e19a_4730ce8738e2 bcfee27a_2e68_b340_ffdb_f47378299d82["getIslandContent()"] bcfee27a_2e68_b340_ffdb_f47378299d82 -->|calls| 44e4d19a_3d65_b894_526b_74c6427949a1 style 44e4d19a_3d65_b894_526b_74c6427949a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/server/render/server-islands.ts lines 118–128
getComponentExport(): string {
if (this.componentExport) {
return this.componentExport;
}
const componentExport = this.props['server:component-export'];
if (!componentExport) {
throw new Error(`Could not find server component export`);
}
this.componentExport = componentExport;
return componentExport;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does getComponentExport() do?
getComponentExport() is a function in the astro codebase, defined in packages/astro/src/runtime/server/render/server-islands.ts.
Where is getComponentExport() defined?
getComponentExport() is defined in packages/astro/src/runtime/server/render/server-islands.ts at line 118.
What calls getComponentExport()?
getComponentExport() is called by 1 function(s): getIslandContent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free