Home / File/ App.js — react Source File

App.js — react Source File

Architecture documentation for App.js, a javascript file in the react codebase. 4 imports, 4 dependents.

File javascript BabelCompiler Optimization 4 imports 4 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  80a4d9b0_ea35_ec8f_4f21_8a2085be082e["App.js"]
  285ea620_a7e6_bda4_2f19_f17fa971360d["Html.js"]
  80a4d9b0_ea35_ec8f_4f21_8a2085be082e --> 285ea620_a7e6_bda4_2f19_f17fa971360d
  a5f23473_e557_d840_ae34_ae83f12fdf40["Html"]
  80a4d9b0_ea35_ec8f_4f21_8a2085be082e --> a5f23473_e557_d840_ae34_ae83f12fdf40
  cae5f11f_ec16_a89f_23b7_bdcdbb857e44["BigComponent.js"]
  80a4d9b0_ea35_ec8f_4f21_8a2085be082e --> cae5f11f_ec16_a89f_23b7_bdcdbb857e44
  a8c6af66_8d8a_60c6_4b8c_f0f6eb80f471["BigComponent"]
  80a4d9b0_ea35_ec8f_4f21_8a2085be082e --> a8c6af66_8d8a_60c6_4b8c_f0f6eb80f471
  fbe0797f_1878_6a2d_3c20_5ad62120856d["render-to-buffer.js"]
  fbe0797f_1878_6a2d_3c20_5ad62120856d --> 80a4d9b0_ea35_ec8f_4f21_8a2085be082e
  d469dba5_b6ac_21d6_fd11_39f7311bf17b["render-to-stream.js"]
  d469dba5_b6ac_21d6_fd11_39f7311bf17b --> 80a4d9b0_ea35_ec8f_4f21_8a2085be082e
  acc17744_5cfd_dd66_b0fd_71ec47db5ef0["render-to-string.js"]
  acc17744_5cfd_dd66_b0fd_71ec47db5ef0 --> 80a4d9b0_ea35_ec8f_4f21_8a2085be082e
  bee9f0ca_e044_c978_130a_4158d6c428f6["index.js"]
  bee9f0ca_e044_c978_130a_4158d6c428f6 --> 80a4d9b0_ea35_ec8f_4f21_8a2085be082e
  style 80a4d9b0_ea35_ec8f_4f21_8a2085be082e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */

import Html from './Html';
import BigComponent from './BigComponent';

export default function App({assets, title}) {
  const components = [];

  for (let i = 0; i <= 250; i++) {
    components.push(<BigComponent key={i} />);
  }

  return (
    <Html assets={assets} title={title}>
      <h1>{title}</h1>
      {components}
      <h1>all done</h1>
    </Html>
  );
}

Domain

Subdomains

Functions

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, Optimization subdomain.
What functions are defined in App.js?
App.js defines 1 function(s): App.
What does App.js depend on?
App.js imports 4 module(s): BigComponent, BigComponent.js, Html, Html.js.
What files import App.js?
App.js is imported by 4 file(s): index.js, render-to-buffer.js, render-to-stream.js, render-to-string.js.
Where is App.js in the architecture?
App.js is located at fixtures/fizz/src/App.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/fizz/src).

Analyze Your Own Codebase

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

Try Supermodel Free