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, 4 dependents.

Entity Profile

Dependency Diagram

graph LR
  f14bbaea_a3f1_245b_696c_0c4d0bd624c7["constants.js"]
  6d32cfc6_78ff_92b2_0a33_092cde10d395["CommitFlamegraphListItem.js"]
  6d32cfc6_78ff_92b2_0a33_092cde10d395 --> f14bbaea_a3f1_245b_696c_0c4d0bd624c7
  89b916c8_640c_20f1_5b9e_9022ade373b8["CommitRankedListItem.js"]
  89b916c8_640c_20f1_5b9e_9022ade373b8 --> f14bbaea_a3f1_245b_696c_0c4d0bd624c7
  76384bd4_08c7_de17_1f91_2937028def49["SnapshotCommitList.js"]
  76384bd4_08c7_de17_1f91_2937028def49 --> f14bbaea_a3f1_245b_696c_0c4d0bd624c7
  b350cf53_cbc3_d273_ad6c_5485a91ef713["SnapshotSelector.js"]
  b350cf53_cbc3_d273_ad6c_5485a91ef713 --> f14bbaea_a3f1_245b_696c_0c4d0bd624c7
  style f14bbaea_a3f1_245b_696c_0c4d0bd624c7 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 const barWidthThreshold = 2;
export const maxBarWidth = 30;
export const minBarWidth = 5;

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 4 file(s): CommitFlamegraphListItem.js, CommitRankedListItem.js, SnapshotCommitList.js, SnapshotSelector.js.
Where is constants.js in the architecture?
constants.js is located at packages/react-devtools-shared/src/devtools/views/Profiler/constants.js (domain: BabelCompiler, directory: packages/react-devtools-shared/src/devtools/views/Profiler).

Analyze Your Own Codebase

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

Try Supermodel Free