Home / File/ ProfilingNotSupported.js — react Source File

ProfilingNotSupported.js — react Source File

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

File javascript BabelCompiler Validation 2 imports 1 dependents 1 functions

Entity Profile

Dependency Diagram

graph LR
  0b624ab1_bdaa_ae7f_a85e_5d9c7cd1567d["ProfilingNotSupported.js"]
  07413c68_034d_7083_d768_efa42c1f4bb3["Profiler.css"]
  0b624ab1_bdaa_ae7f_a85e_5d9c7cd1567d --> 07413c68_034d_7083_d768_efa42c1f4bb3
  ac587885_e294_a1e9_b13f_5e7b920fdb42["react"]
  0b624ab1_bdaa_ae7f_a85e_5d9c7cd1567d --> ac587885_e294_a1e9_b13f_5e7b920fdb42
  2e59ff66_9c56_6e37_8843_8e474e6b0d70["Profiler.js"]
  2e59ff66_9c56_6e37_8843_8e474e6b0d70 --> 0b624ab1_bdaa_ae7f_a85e_5d9c7cd1567d
  style 0b624ab1_bdaa_ae7f_a85e_5d9c7cd1567d 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 styles from './Profiler.css';

export default function ProfilingNotSupported(): React.Node {
  return (
    <div className={styles.Column}>
      <div className={styles.Header}>Profiling not supported.</div>
      <p className={styles.Paragraph}>
        Profiling support requires either a development or profiling build of
        React v16.5+.
      </p>
      <p className={styles.Paragraph}>
        Learn more at{' '}
        <a
          className={styles.Link}
          href="https://fb.me/react-devtools-profiling"
          rel="noopener noreferrer"
          target="_blank">
          reactjs.org/link/profiling
        </a>
        .
      </p>
    </div>
  );
}

Domain

Subdomains

Dependencies

Frequently Asked Questions

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