warnNonPresent() — vue Function Reference
Architecture documentation for the warnNonPresent() function in proxy.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 298f4650_25a3_9767_7c31_38001689eade["warnNonPresent()"] eb4824cc_1530_1ed7_6f52_d884d6a13c23["hasHandler.has()"] eb4824cc_1530_1ed7_6f52_d884d6a13c23 -->|calls| 298f4650_25a3_9767_7c31_38001689eade 6a9b3ed7_ba2a_8b0d_2d0d_8bb454d98295["getHandler.get()"] 6a9b3ed7_ba2a_8b0d_2d0d_8bb454d98295 -->|calls| 298f4650_25a3_9767_7c31_38001689eade style 298f4650_25a3_9767_7c31_38001689eade 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
Called By
Source
Frequently Asked Questions
What does warnNonPresent() do?
warnNonPresent() is a function in the vue codebase.
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