Home / File/ SimpleValues.js — react Source File

SimpleValues.js — react Source File

Architecture documentation for SimpleValues.js, a javascript file in the react codebase. 1 imports, 1 dependents.

File javascript BabelCompiler Validation 1 imports 1 dependents 2 functions 1 classes

Entity Profile

Dependency Diagram

graph LR
  8015e0d2_49d7_3bd3_a9d4_49d5ec23aa4d["SimpleValues.js"]
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  8015e0d2_49d7_3bd3_a9d4_49d5ec23aa4d --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  ee521c92_6aea_ed48_b3b2_59ca21d468e3["InspectableElements.js"]
  ee521c92_6aea_ed48_b3b2_59ca21d468e3 --> 8015e0d2_49d7_3bd3_a9d4_49d5ec23aa4d
  style 8015e0d2_49d7_3bd3_a9d4_49d5ec23aa4d 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.
 *
 * @flow
 */

import * as React from 'react';
import {Component} from 'react';

function noop() {}

export default class SimpleValues extends Component {
  anonymousFunction: () => void = () => {};

  render(): React.Node {
    return (
      <ChildComponent
        string="abc"
        emptyString=""
        number={123}
        undefined={undefined}
        null={null}
        nan={NaN}
        infinity={Infinity}
        true={true}
        false={false}
        function={noop}
        anonymousFunction={this.anonymousFunction}
        boundFunction={noop.bind(this)}
        regex={/abc[123]+/i}
      />
    );
  }
}

function ChildComponent(props: any) {
  return null;
}

Domain

Subdomains

Classes

Dependencies

  • react

Frequently Asked Questions

What does SimpleValues.js do?
SimpleValues.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 SimpleValues.js?
SimpleValues.js defines 2 function(s): ChildComponent, noop.
What does SimpleValues.js depend on?
SimpleValues.js imports 1 module(s): react.
What files import SimpleValues.js?
SimpleValues.js is imported by 1 file(s): InspectableElements.js.
Where is SimpleValues.js in the architecture?
SimpleValues.js is located at packages/react-devtools-shell/src/app/InspectableElements/SimpleValues.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shell/src/app/InspectableElements).

Analyze Your Own Codebase

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

Try Supermodel Free