deactivateChildComponent() — vue Function Reference
Architecture documentation for the deactivateChildComponent() function in lifecycle.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 18d51aec_8d26_a819_8f35_582a8499968c["deactivateChildComponent()"] f83b642c_4d10_9b5e_4c13_7bff8d222fde["componentVNodeHooks.destroy()"] f83b642c_4d10_9b5e_4c13_7bff8d222fde -->|calls| 18d51aec_8d26_a819_8f35_582a8499968c 7f5c5af0_e0dd_3ee7_9d64_5f5eb246e832["isInInactiveTree()"] 18d51aec_8d26_a819_8f35_582a8499968c -->|calls| 7f5c5af0_e0dd_3ee7_9d64_5f5eb246e832 71c7a5aa_6619_7aea_6a94_630a0527f309["callHook()"] 18d51aec_8d26_a819_8f35_582a8499968c -->|calls| 71c7a5aa_6619_7aea_6a94_630a0527f309 style 18d51aec_8d26_a819_8f35_582a8499968c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/lifecycle.ts lines 378–392
export function deactivateChildComponent(vm: Component, direct?: boolean) {
if (direct) {
vm._directInactive = true
if (isInInactiveTree(vm)) {
return
}
}
if (!vm._inactive) {
vm._inactive = true
for (let i = 0; i < vm.$children.length; i++) {
deactivateChildComponent(vm.$children[i])
}
callHook(vm, 'deactivated')
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does deactivateChildComponent() do?
deactivateChildComponent() is a function in the vue codebase.
What does deactivateChildComponent() call?
deactivateChildComponent() calls 2 function(s): callHook, isInInactiveTree.
What calls deactivateChildComponent()?
deactivateChildComponent() is called by 1 function(s): componentVNodeHooks.destroy.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free