warnNonPresent() — vue Function Reference
Architecture documentation for the warnNonPresent() function in proxy.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD fd99f37e_a954_bd15_751e_2a9a1b5948ab["warnNonPresent()"] 18330ec4_c733_5eb5_21fe_6f99d09ac84f["proxy.ts"] fd99f37e_a954_bd15_751e_2a9a1b5948ab -->|defined in| 18330ec4_c733_5eb5_21fe_6f99d09ac84f 723ee987_5350_024a_0b28_5fa27f073868["hasHandler.has()"] 723ee987_5350_024a_0b28_5fa27f073868 -->|calls| fd99f37e_a954_bd15_751e_2a9a1b5948ab d8bf6d60_1f7b_e722_cf72_4f70904eb99e["getHandler.get()"] d8bf6d60_1f7b_e722_cf72_4f70904eb99e -->|calls| fd99f37e_a954_bd15_751e_2a9a1b5948ab style fd99f37e_a954_bd15_751e_2a9a1b5948ab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/core/instance/proxy.ts lines 16–25
const warnNonPresent = (target, key) => {
warn(
`Property or method "${key}" is not defined on the instance but ` +
'referenced during render. Make sure that this property is reactive, ' +
'either in the data option, or for class-based components, by ' +
'initializing the property. ' +
'See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.',
target
)
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does warnNonPresent() do?
warnNonPresent() is a function in the vue codebase, defined in src/core/instance/proxy.ts.
Where is warnNonPresent() defined?
warnNonPresent() is defined in src/core/instance/proxy.ts at line 16.
What calls warnNonPresent()?
warnNonPresent() is called by 2 function(s): getHandler.get, hasHandler.has.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free