strats() — vue Function Reference
Architecture documentation for the strats() function in options.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD e1b94d83_39cf_0384_0c5f_0101fd7c94ec["strats()"] e3484a9f_f8a5_4082_0208_641d58b965c3["warn()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| e3484a9f_f8a5_4082_0208_641d58b965c3 7d281fad_51a5_e7ab_c15e_f69bfe2eb528["defaultStrat()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| 7d281fad_51a5_e7ab_c15e_f69bfe2eb528 9e1a1d94_6eb5_5e4d_50bd_7c95e856185f["mergeDataOrFn()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| 9e1a1d94_6eb5_5e4d_50bd_7c95e856185f 6ba3e097_ebbc_49dd_52d6_10c0423a7ed9["assertObjectType()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| 6ba3e097_ebbc_49dd_52d6_10c0423a7ed9 7a0093e3_a58a_af71_971f_488b65897e74["extend()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| 7a0093e3_a58a_af71_971f_488b65897e74 e4810382_8c74_bddb_f04c_e8c3ddc8a0e7["mergeData()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| e4810382_8c74_bddb_f04c_e8c3ddc8a0e7 5af21a52_5316_e857_22eb_dce69bb60268["isFunction()"] e1b94d83_39cf_0384_0c5f_0101fd7c94ec -->|calls| 5af21a52_5316_e857_22eb_dce69bb60268 style e1b94d83_39cf_0384_0c5f_0101fd7c94ec 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
Source
Frequently Asked Questions
What does strats() do?
strats() is a function in the vue codebase.
What does strats() call?
strats() calls 7 function(s): assertObjectType, defaultStrat, extend, isFunction, mergeData, mergeDataOrFn, warn.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free