Home / Function/ handleDep() — vite Function Reference

handleDep() — vite Function Reference

Architecture documentation for the handleDep() function in hmr.ts from the vite codebase.

Entity Profile

Dependency Diagram

graph TD
  26d1f8b9_f3d1_97e6_d717_9ab79480fdc6["handleDep()"]
  2bff1ddd_39d7_0bc8_e313_78c6a7eae614["hmr.ts"]
  26d1f8b9_f3d1_97e6_d717_9ab79480fdc6 -->|defined in| 2bff1ddd_39d7_0bc8_e313_78c6a7eae614
  4a06788f_da1b_cd3d_00c5_cb8934739538["text()"]
  26d1f8b9_f3d1_97e6_d717_9ab79480fdc6 -->|calls| 4a06788f_da1b_cd3d_00c5_cb8934739538
  style 26d1f8b9_f3d1_97e6_d717_9ab79480fdc6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

playground/hmr/hmr.ts lines 52–57

  const handleDep = (type, newFoo, newNestedFoo) => {
    console.log(`(${type}) foo is now: ${newFoo}`)
    console.log(`(${type}) nested foo is now: ${newNestedFoo}`)
    text('.dep', newFoo)
    text('.nested', newNestedFoo)
  }

Domain

Subdomains

Calls

Frequently Asked Questions

What does handleDep() do?
handleDep() is a function in the vite codebase, defined in playground/hmr/hmr.ts.
Where is handleDep() defined?
handleDep() is defined in playground/hmr/hmr.ts at line 52.
What does handleDep() call?
handleDep() calls 1 function(s): text.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free