Home / File/ App.js — react Source File

App.js — react Source File

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

File javascript BabelCompiler Entrypoint 7 imports 2 dependents 12 functions 2 classes

Entity Profile

Dependency Diagram

graph LR
  444f4239_c2fb_3bc5_1037_eb595d98f6e1["App.js"]
  8151fcb2_8fa7_231b_84c1_67e281fb0ca7["attributes.js"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> 8151fcb2_8fa7_231b_84c1_67e281fb0ca7
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  fa06be21_a82d_41ae_39d2_4aed5e002b7d["react"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> fa06be21_a82d_41ae_39d2_4aed5e002b7d
  d01b607b_741b_71a8_ace7_00071a36dcf7["react-virtualized"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> d01b607b_741b_71a8_ace7_00071a36dcf7
  bc40c31c_78a7_bd81_f169_f3585ca23537["styles.css"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> bc40c31c_78a7_bd81_f169_f3585ca23537
  ba206404_7b28_7176_d6a7_93333e942a90["file-saver"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> ba206404_7b28_7176_d6a7_93333e942a90
  6ea26bd2_4506_9d9b_ee45_9a73bae3782f["overlay"]
  444f4239_c2fb_3bc5_1037_eb595d98f6e1 --> 6ea26bd2_4506_9d9b_ee45_9a73bae3782f
  78c59dc5_2ac8_8200_2228_50e65e33c99c["App.test.js"]
  78c59dc5_2ac8_8200_2228_50e65e33c99c --> 444f4239_c2fb_3bc5_1037_eb595d98f6e1
  b891c258_fbbe_f7bf_f5b1_09a85764ee3e["index.js"]
  b891c258_fbbe_f7bf_f5b1_09a85764ee3e --> 444f4239_c2fb_3bc5_1037_eb595d98f6e1
  style 444f4239_c2fb_3bc5_1037_eb595d98f6e1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import React from 'react';
import {createElement} from 'glamor/react'; // eslint-disable-line
/* @jsx createElement */

import {MultiGrid, AutoSizer} from 'react-virtualized';
import 'react-virtualized/styles.css';
import FileSaver from 'file-saver';

import {
  inject as injectErrorOverlay,
  uninject as uninjectErrorOverlay,
} from 'react-error-overlay/lib/overlay';

import attributes from './attributes';

const types = [
  {
    name: 'string',
    testValue: 'a string',
    testDisplayValue: "'a string'",
  },
  {
    name: 'empty string',
    testValue: '',
    testDisplayValue: "''",
  },
  {
    name: 'array with string',
    testValue: ['string'],
    testDisplayValue: "['string']",
  },
  {
    name: 'empty array',
    testValue: [],
    testDisplayValue: '[]',
  },
  {
    name: 'object',
    testValue: {
      toString() {
        return 'result of toString()';
      },
    },
    testDisplayValue: "{ toString() { return 'result of toString()'; } }",
  },
  {
    name: 'numeric string',
    testValue: '42',
    displayValue: "'42'",
  },
  {
    name: '-1',
    testValue: -1,
  },
  {
    name: '0',
    testValue: 0,
  },
  {
    name: 'integer',
// ... (996 more lines)

Domain

Subdomains

Classes

Dependencies

  • attributes.js
  • file-saver
  • overlay
  • react
  • react
  • react-virtualized
  • styles.css

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, Entrypoint subdomain.
What functions are defined in App.js?
App.js defines 12 function(s): CellContent, ColumnHeader, RendererResult, ResultPopover, RowHeader, getCanonicalizedValue, getRenderedAttributeValue, prepareState, renderToString, restoreFromLocalStorage, and 2 more.
What does App.js depend on?
App.js imports 7 module(s): attributes.js, file-saver, overlay, react, react, react-virtualized, styles.css.
What files import App.js?
App.js is imported by 2 file(s): App.test.js, index.js.
Where is App.js in the architecture?
App.js is located at fixtures/attribute-behavior/src/App.js (domain: BabelCompiler, subdomain: Entrypoint, directory: fixtures/attribute-behavior/src).

Analyze Your Own Codebase

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

Try Supermodel Free