default.beforeMount() — vue Function Reference
Architecture documentation for the default.beforeMount() function in transition-group.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 6b988ce8_e7b3_b84f_9495_745164de0149["default.beforeMount()"] f7026368_bf6f_2dd0_00ce_f887a9165898["transition-group.ts"] 6b988ce8_e7b3_b84f_9495_745164de0149 -->|defined in| f7026368_bf6f_2dd0_00ce_f887a9165898 style 6b988ce8_e7b3_b84f_9495_745164de0149 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/platforms/web/runtime/components/transition-group.ts lines 41–56
beforeMount() {
const update = this._update
this._update = (vnode, hydrating) => {
const restoreActiveInstance = setActiveInstance(this)
// force removing pass
this.__patch__(
this._vnode,
this.kept,
false, // hydrating
true // removeOnly (!important, avoids unnecessary moves)
)
this._vnode = this.kept
restoreActiveInstance()
update.call(this, vnode, hydrating)
}
},
Domain
Subdomains
Source
Frequently Asked Questions
What does default.beforeMount() do?
default.beforeMount() is a function in the vue codebase, defined in src/platforms/web/runtime/components/transition-group.ts.
Where is default.beforeMount() defined?
default.beforeMount() is defined in src/platforms/web/runtime/components/transition-group.ts at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free