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
  dec9e9ba_24a5_55fb_7edf_af95c8091f06["parent.js"]
  6de8a0fd_e0a8_c037_a679_2645e0f43466["runtime.js"]
  dec9e9ba_24a5_55fb_7edf_af95c8091f06 --> 6de8a0fd_e0a8_c037_a679_2645e0f43466
  0f594b53_09f1_bcd7_b890_b69a3a8252df["rerender"]
  dec9e9ba_24a5_55fb_7edf_af95c8091f06 --> 0f594b53_09f1_bcd7_b890_b69a3a8252df
  ade0ed60_faae_4ea2_a363_37d0b3d94365["index.js"]
  ade0ed60_faae_4ea2_a363_37d0b3d94365 --> dec9e9ba_24a5_55fb_7edf_af95c8091f06
  style dec9e9ba_24a5_55fb_7edf_af95c8091f06 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/file-delete-restore/parent.js (domain: ViteCore, directory: playground/hmr/file-delete-restore).

Analyze Your Own Codebase

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

Try Supermodel Free