Home / File/ constants.js — react Source File

constants.js — react Source File

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

Entity Profile

Dependency Diagram

graph LR
  15b4085f_9f22_ce01_7452_bc922fb0f989["constants.js"]
  a3f7147d_da0b_56dc_ffc9_a9e2bbc4526a["preprocessData.js"]
  a3f7147d_da0b_56dc_ffc9_a9e2bbc4526a --> 15b4085f_9f22_ce01_7452_bc922fb0f989
  style 15b4085f_9f22_ce01_7452_bc922fb0f989 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
 */

export {
  COMFORTABLE_LINE_HEIGHT,
  COMPACT_LINE_HEIGHT,
} from 'react-devtools-shared/src/devtools/constants.js';

export const REACT_TOTAL_NUM_LANES = 31;

// Increment this number any time a backwards breaking change is made to the profiler metadata.
export const SCHEDULING_PROFILER_VERSION = 1;

export const SNAPSHOT_MAX_HEIGHT = 60;

Domain

Frequently Asked Questions

What does constants.js do?
constants.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import constants.js?
constants.js is imported by 1 file(s): preprocessData.js.
Where is constants.js in the architecture?
constants.js is located at packages/react-devtools-timeline/src/constants.js (domain: BabelCompiler, directory: packages/react-devtools-timeline/src).

Analyze Your Own Codebase

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

Try Supermodel Free