getData() — vue Function Reference
Architecture documentation for the getData() function in state.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD a9af8dc0_58c2_6c69_73ea_1d6a094a7054["getData()"] d31fad70_4d19_ce2b_d907_4d8be6615062["initData()"] d31fad70_4d19_ce2b_d907_4d8be6615062 -->|calls| a9af8dc0_58c2_6c69_73ea_1d6a094a7054 0f6ffc11_2e95_459d_b27e_bbd8d5d18e4a["pushTarget()"] a9af8dc0_58c2_6c69_73ea_1d6a094a7054 -->|calls| 0f6ffc11_2e95_459d_b27e_bbd8d5d18e4a a51c7238_0b82_ad88_085b_cd519eb78568["popTarget()"] a9af8dc0_58c2_6c69_73ea_1d6a094a7054 -->|calls| a51c7238_0b82_ad88_085b_cd519eb78568 style a9af8dc0_58c2_6c69_73ea_1d6a094a7054 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/state.ts lines 168–179
export function getData(data: Function, vm: Component): any {
// #7573 disable dep collection when invoking data getters
pushTarget()
try {
return data.call(vm, vm)
} catch (e: any) {
handleError(e, vm, `data()`)
return {}
} finally {
popTarget()
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getData() do?
getData() is a function in the vue codebase.
What does getData() call?
getData() calls 2 function(s): popTarget, pushTarget.
What calls getData()?
getData() is called by 1 function(s): initData.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free