render() — astro Function Reference
Architecture documentation for the render() function in node.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 6e6caa7d_367e_071a_401e_c7855246ce6b["render()"] 1354a766_a33e_3a71_462c_58c895a2cb0b["NodeApp"] 6e6caa7d_367e_071a_401e_c7855246ce6b -->|defined in| 1354a766_a33e_3a71_462c_58c895a2cb0b 859c2d6f_02be_836d_7e05_a64bead34fc2["createRequest()"] 6e6caa7d_367e_071a_401e_c7855246ce6b -->|calls| 859c2d6f_02be_836d_7e05_a64bead34fc2 style 6e6caa7d_367e_071a_401e_c7855246ce6b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/app/node.ts lines 39–46
render(request: NodeRequest | Request, options?: RenderOptions): Promise<Response> {
if (!(request instanceof Request)) {
request = NodeApp.createRequest(request, {
allowedDomains: this.manifest.allowedDomains,
});
}
return super.render(request, options);
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does render() do?
render() is a function in the astro codebase, defined in packages/astro/src/core/app/node.ts.
Where is render() defined?
render() is defined in packages/astro/src/core/app/node.ts at line 39.
What does render() call?
render() calls 1 function(s): createRequest.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free