bindRenderFns() — vue Function Reference
Architecture documentation for the bindRenderFns() function in index.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD a9898ee0_db52_d8ff_9b47_b48d3fbeb000["bindRenderFns()"] 0ef8eb2c_b0fb_7608_a58e_c6b068a0d511["createRenderer()"] 0ef8eb2c_b0fb_7608_a58e_c6b068a0d511 -->|calls| a9898ee0_db52_d8ff_9b47_b48d3fbeb000 style a9898ee0_db52_d8ff_9b47_b48d3fbeb000 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/template-renderer/index.ts lines 94–104
bindRenderFns(context: Record<string, any>) {
const renderer: any = this
;['ResourceHints', 'State', 'Scripts', 'Styles'].forEach(type => {
context[`render${type}`] = renderer[`render${type}`].bind(
renderer,
context
)
})
// also expose getPreloadFiles, useful for HTTP/2 push
context.getPreloadFiles = renderer.getPreloadFiles.bind(renderer, context)
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does bindRenderFns() do?
bindRenderFns() is a function in the vue codebase.
What calls bindRenderFns()?
bindRenderFns() is called by 1 function(s): createRenderer.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free