render() — astro Function Reference
Architecture documentation for the render() function in instance.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD d5585077_c610_30d8_780d_3b719e68ba58["render()"] c8404018_ae72_dbaf_c01d_66b8b2cbc344["AstroComponentInstance"] d5585077_c610_30d8_780d_3b719e68ba58 -->|defined in| c8404018_ae72_dbaf_c01d_66b8b2cbc344 dbd2308d_970a_d647_1e74_5bb7249bd549["renderImpl()"] dbd2308d_970a_d647_1e74_5bb7249bd549 -->|calls| d5585077_c610_30d8_780d_3b719e68ba58 2bbe8ffe_7c37_0788_f75d_af62023ae9c3["init()"] d5585077_c610_30d8_780d_3b719e68ba58 -->|calls| 2bbe8ffe_7c37_0788_f75d_af62023ae9c3 dbd2308d_970a_d647_1e74_5bb7249bd549["renderImpl()"] d5585077_c610_30d8_780d_3b719e68ba58 -->|calls| dbd2308d_970a_d647_1e74_5bb7249bd549 style d5585077_c610_30d8_780d_3b719e68ba58 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/runtime/server/render/astro/instance.ts lines 68–76
render(destination: RenderDestination): void | Promise<void> {
const returnValue = this.init(this.result);
if (isPromise(returnValue)) {
return returnValue.then((x) => this.renderImpl(destination, x));
}
return this.renderImpl(destination, returnValue);
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does render() do?
render() is a function in the astro codebase, defined in packages/astro/src/runtime/server/render/astro/instance.ts.
Where is render() defined?
render() is defined in packages/astro/src/runtime/server/render/astro/instance.ts at line 68.
What does render() call?
render() calls 2 function(s): init, renderImpl.
What calls render()?
render() is called by 1 function(s): renderImpl.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free