Home / File/ parent.js — vite Source File

parent.js — vite Source File

Architecture documentation for parent.js, a javascript file in the vite codebase. 2 imports, 1 dependents.

File javascript ViteCore 2 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  f4b744ab_726f_2280_a7c4_89f3bc61e992["parent.js"]
  8dd41c55_f0b6_f35a_f45e_efc93d7d897d["runtime.js"]
  f4b744ab_726f_2280_a7c4_89f3bc61e992 --> 8dd41c55_f0b6_f35a_f45e_efc93d7d897d
  e239b2ca_6717_754f_1f7a_b669ffacb552["rerender"]
  f4b744ab_726f_2280_a7c4_89f3bc61e992 --> e239b2ca_6717_754f_1f7a_b669ffacb552
  734a2ac2_7c1f_3c95_e1e7_22831c4c6ff9["index.js"]
  734a2ac2_7c1f_3c95_e1e7_22831c4c6ff9 --> f4b744ab_726f_2280_a7c4_89f3bc61e992
  style f4b744ab_726f_2280_a7c4_89f3bc61e992 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { rerender } from './runtime'

export const parentValue = 'parent'
export { value as childValue } from './child'

if (import.meta.hot) {
  import.meta.hot.accept((newMod) => {
    if (!newMod) return

    rerender({ child: newMod.childValue, parent: newMod.parentValue })
  })
}

Domain

Dependencies

Frequently Asked Questions

What does parent.js do?
parent.js is a source file in the vite codebase, written in javascript. It belongs to the ViteCore domain.
What does parent.js depend on?
parent.js imports 2 module(s): rerender, runtime.js.
What files import parent.js?
parent.js is imported by 1 file(s): index.js.
Where is parent.js in the architecture?
parent.js is located at playground/hmr-ssr/file-delete-restore/parent.js (domain: ViteCore, directory: playground/hmr-ssr/file-delete-restore).

Analyze Your Own Codebase

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

Try Supermodel Free