createRenderContext() — astro Function Reference
Architecture documentation for the createRenderContext() function in app.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8c958a17_30f5_1678_b38a_5d51a320ab3f["createRenderContext()"] ec09edcb_7ea1_1684_bf75_6f5bf722dd9c["DevApp"] 8c958a17_30f5_1678_b38a_5d51a320ab3f -->|defined in| ec09edcb_7ea1_1684_bf75_6f5bf722dd9c 84b4e3d3_9059_983c_2845_94bc19dd377b["renderError()"] 84b4e3d3_9059_983c_2845_94bc19dd377b -->|calls| 8c958a17_30f5_1678_b38a_5d51a320ab3f style 8c958a17_30f5_1678_b38a_5d51a320ab3f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/app/dev/app.ts lines 64–69
async createRenderContext(payload: CreateRenderContext): Promise<RenderContext> {
return super.createRenderContext({
...payload,
pathname: this.resolvedPathname ?? payload.pathname,
});
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does createRenderContext() do?
createRenderContext() is a function in the astro codebase, defined in packages/astro/src/core/app/dev/app.ts.
Where is createRenderContext() defined?
createRenderContext() is defined in packages/astro/src/core/app/dev/app.ts at line 64.
What calls createRenderContext()?
createRenderContext() is called by 1 function(s): renderError.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free