Home / Function/ warnNonPresent() — vue Function Reference

warnNonPresent() — vue Function Reference

Architecture documentation for the warnNonPresent() function in proxy.ts from the vue codebase.

Entity Profile

Dependency Diagram

graph TD
  12a980e7_3b97_d3da_9003_c1ebb12c9f2d["warnNonPresent()"]
  b0eefea3_bce3_cbac_335d_8115647b5a8c["hasHandler.has()"]
  b0eefea3_bce3_cbac_335d_8115647b5a8c -->|calls| 12a980e7_3b97_d3da_9003_c1ebb12c9f2d
  f3f03ef6_5dbd_28bc_474e_655bfdd9e2b0["getHandler.get()"]
  f3f03ef6_5dbd_28bc_474e_655bfdd9e2b0 -->|calls| 12a980e7_3b97_d3da_9003_c1ebb12c9f2d
  style 12a980e7_3b97_d3da_9003_c1ebb12c9f2d 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

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