Home / Function/ renderImpl() — astro Function Reference

renderImpl() — astro Function Reference

Architecture documentation for the renderImpl() function in instance.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  dbd2308d_970a_d647_1e74_5bb7249bd549["renderImpl()"]
  c8404018_ae72_dbaf_c01d_66b8b2cbc344["AstroComponentInstance"]
  dbd2308d_970a_d647_1e74_5bb7249bd549 -->|defined in| c8404018_ae72_dbaf_c01d_66b8b2cbc344
  d5585077_c610_30d8_780d_3b719e68ba58["render()"]
  d5585077_c610_30d8_780d_3b719e68ba58 -->|calls| dbd2308d_970a_d647_1e74_5bb7249bd549
  d5585077_c610_30d8_780d_3b719e68ba58["render()"]
  dbd2308d_970a_d647_1e74_5bb7249bd549 -->|calls| d5585077_c610_30d8_780d_3b719e68ba58
  style dbd2308d_970a_d647_1e74_5bb7249bd549 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/runtime/server/render/astro/instance.ts lines 78–84

	private renderImpl(destination: RenderDestination, returnValue: AstroFactoryReturnValue) {
		if (isHeadAndContent(returnValue)) {
			return returnValue.content.render(destination);
		} else {
			return renderChild(destination, returnValue);
		}
	}

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does renderImpl() do?
renderImpl() is a function in the astro codebase, defined in packages/astro/src/runtime/server/render/astro/instance.ts.
Where is renderImpl() defined?
renderImpl() is defined in packages/astro/src/runtime/server/render/astro/instance.ts at line 78.
What does renderImpl() call?
renderImpl() calls 1 function(s): render.
What calls renderImpl()?
renderImpl() is called by 1 function(s): render.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free