Home / File/ app.js — react Source File

app.js — react Source File

Architecture documentation for app.js, a javascript file in the react codebase. 3 imports, 0 dependents.

File javascript BabelCompiler Validation 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  aff2d576_64c1_50a0_1c0e_821f50178207["app.js"]
  e4a0282b_ebaf_8a3f_151f_786265e42da2["index.js"]
  aff2d576_64c1_50a0_1c0e_821f50178207 --> e4a0282b_ebaf_8a3f_151f_786265e42da2
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  aff2d576_64c1_50a0_1c0e_821f50178207 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  8792c1c1_dca5_f137_73ea_c0e268fdbb22["client"]
  aff2d576_64c1_50a0_1c0e_821f50178207 --> 8792c1c1_dca5_f137_73ea_c0e268fdbb22
  style aff2d576_64c1_50a0_1c0e_821f50178207 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/** @flow */

// This test harness mounts each test app as a separate root to test multi-root applications.

import * as React from 'react';
import {createRoot} from 'react-dom/client';
import App from './apps/index';

function mountApp() {
  const container = document.createElement('div');

  ((document.body: any): HTMLBodyElement).appendChild(container);

  const root = createRoot(container);
  root.render(
    <React.StrictMode>
      <App />
    </React.StrictMode>,
  );
}

mountApp();

Domain

Subdomains

Functions

Dependencies

Frequently Asked Questions

What does app.js do?
app.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in app.js?
app.js defines 1 function(s): mountApp.
What does app.js depend on?
app.js imports 3 module(s): client, index.js, react.
Where is app.js in the architecture?
app.js is located at packages/react-devtools-shell/src/perf-regression/app.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shell/src/perf-regression).

Analyze Your Own Codebase

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

Try Supermodel Free