strats() — vue Function Reference
Architecture documentation for the strats() function in options.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6["strats()"] 5c734a8f_efba_819c_28fc_f56bfd6b701f["options.ts"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|defined in| 5c734a8f_efba_819c_28fc_f56bfd6b701f e8b22500_20a5_2e19_4c79_386004841499["warn()"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|calls| e8b22500_20a5_2e19_4c79_386004841499 c711fe3c_1a4d_2c93_b7ce_c0d00270f2e9["defaultStrat()"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|calls| c711fe3c_1a4d_2c93_b7ce_c0d00270f2e9 4f49ac70_a342_d58b_3b5b_116092765886["mergeDataOrFn()"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|calls| 4f49ac70_a342_d58b_3b5b_116092765886 d36d9946_3e09_5ada_0e39_829fc05e2f14["assertObjectType()"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|calls| d36d9946_3e09_5ada_0e39_829fc05e2f14 9efe5186_8c34_d7d4_88d0_e9a686898b28["mergeData()"] b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 -->|calls| 9efe5186_8c34_d7d4_88d0_e9a686898b28 style b1cf23c1_b9b6_663a_5e34_0711ca6cb0b6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/util/options.ts lines 33–46
strats.el = strats.propsData = function (
parent: any,
child: any,
vm: any,
key: any
) {
if (!vm) {
warn(
`option "${key}" can only be used during instance ` +
'creation with the `new` keyword.'
)
}
return defaultStrat(parent, child)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does strats() do?
strats() is a function in the vue codebase, defined in src/core/util/options.ts.
Where is strats() defined?
strats() is defined in src/core/util/options.ts at line 33.
What does strats() call?
strats() calls 5 function(s): assertObjectType, defaultStrat, mergeData, mergeDataOrFn, warn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free