Home / File/ app.js — react Source File

app.js — react Source File

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

File javascript 2 imports

Entity Profile

Dependency Diagram

graph LR
  a81675a4_37e3_6608_010d_85e4b5332701["app.js"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  a81675a4_37e3_6608_010d_85e4b5332701 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  8792c1c1_dca5_f137_73ea_c0e268fdbb22["client"]
  a81675a4_37e3_6608_010d_85e4b5332701 --> 8792c1c1_dca5_f137_73ea_c0e268fdbb22
  style a81675a4_37e3_6608_010d_85e4b5332701 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 * as ReactDOMClient from 'react-dom/client';

const container = document.createElement('div');

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

// TODO We may want to parameterize this app
// so that it can load things other than just ToDoList.
const App = require('../e2e-apps/ListApp').default;

const root = ReactDOMClient.createRoot(container);
root.render(<App />);

// ReactDOM Test Selector APIs used by Playwright e2e tests
window.parent.REACT_DOM_APP = ReactDOMClient;

Dependencies

  • client
  • react

Frequently Asked Questions

What does app.js do?
app.js is a source file in the react codebase, written in javascript.
What does app.js depend on?
app.js imports 2 module(s): client, react.
Where is app.js in the architecture?
app.js is located at packages/react-devtools-shell/src/e2e/app.js (directory: packages/react-devtools-shell/src/e2e).

Analyze Your Own Codebase

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

Try Supermodel Free