Home / File/ ReactFlightClient.js — react Source File

ReactFlightClient.js — react Source File

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

Entity Profile

Dependency Diagram

graph LR
  61eb841d_69e6_7047_22ce_b71bae029dcd["ReactFlightClient.js"]
  c194ca77_7680_ecfa_56a0_2826e7118944["ReactFlightClientConfig.js"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> c194ca77_7680_ecfa_56a0_2826e7118944
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b["ReactFlightReplyClient.js"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 8b1d822f_43a1_46eb_6bb6_c60d9e26a35b
  73765280_0862_bd9c_d2a8_1d392fbaf14a["ReactFlightTemporaryReferences.js"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 73765280_0862_bd9c_d2a8_1d392fbaf14a
  e5244d6e_35d7_7c99_420d_82c7be8fe931["ReactFlightPerformanceTrack.js"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> e5244d6e_35d7_7c99_420d_82c7be8fe931
  7da500d5_f525_07e0_45ca_e7d9d1765dce["markAllTracksInOrder"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 7da500d5_f525_07e0_45ca_e7d9d1765dce
  acfb1189_94ae_cc04_e9b9_9f8c42acf1a2["logComponentRender"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> acfb1189_94ae_cc04_e9b9_9f8c42acf1a2
  ce1af625_f256_5a91_f455_63acf5156d9d["logDedupedComponentRender"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> ce1af625_f256_5a91_f455_63acf5156d9d
  e9f5a018_5f25_533a_f57b_2d9734cb38c7["logComponentAborted"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> e9f5a018_5f25_533a_f57b_2d9734cb38c7
  66254792_b90a_d2d3_4d38_ea3172a3bb76["logComponentErrored"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 66254792_b90a_d2d3_4d38_ea3172a3bb76
  aa2e5ee4_c196_6356_596a_168da72d2783["logIOInfo"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> aa2e5ee4_c196_6356_596a_168da72d2783
  cffda84e_9918_c200_5374_a64e1dd39c68["logIOInfoErrored"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> cffda84e_9918_c200_5374_a64e1dd39c68
  9451f4fe_f2bc_9af9_1665_335f6e9fbde4["logComponentAwait"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 9451f4fe_f2bc_9af9_1665_335f6e9fbde4
  2060f35f_5c20_8dc4_8358_fe4c45025636["logComponentAwaitAborted"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 2060f35f_5c20_8dc4_8358_fe4c45025636
  140b374c_3cb5_3136_78dd_28fc9fcebf9e["logComponentAwaitErrored"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 140b374c_3cb5_3136_78dd_28fc9fcebf9e
  style 61eb841d_69e6_7047_22ce_b71bae029dcd 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 type {
  Thenable,
  ReactDebugInfo,
  ReactDebugInfoEntry,
  ReactComponentInfo,
  ReactAsyncInfo,
  ReactIOInfo,
  ReactStackTrace,
  ReactFunctionLocation,
  ReactErrorInfoDev,
} from 'shared/ReactTypes';
import type {LazyComponent} from 'react/src/ReactLazy';

import type {
  ClientReference,
  ClientReferenceMetadata,
  ServerConsumerModuleMap,
  ServerManifest,
  StringDecoder,
  ModuleLoading,
} from './ReactFlightClientConfig';

import type {
  HintCode,
  HintModel,
} from 'react-server/src/ReactFlightServerConfig';

import type {
  CallServerCallback,
  EncodeFormActionCallback,
} from './ReactFlightReplyClient';

import type {TemporaryReferenceSet} from './ReactFlightTemporaryReferences';

import {
  enableProfilerTimer,
  enableComponentPerformanceTrack,
  enableAsyncDebugInfo,
} from 'shared/ReactFeatureFlags';

import {
  resolveClientReference,
  resolveServerReference,
  preloadModule,
  requireModule,
  getModuleDebugInfo,
  dispatchHint,
  readPartialStringChunk,
  readFinalStringChunk,
  createStringDecoder,
  prepareDestinationForModule,
// ... (5259 more lines)

Domain

Dependencies

Frequently Asked Questions

What does ReactFlightClient.js do?
ReactFlightClient.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactFlightClient.js depend on?
ReactFlightClient.js imports 30 module(s): ReactComponentInfoStack, ReactFeatureFlags, ReactFlightClientConfig.js, ReactFlightClientDevToolsHook.js, ReactFlightPerformanceTrack.js, ReactFlightPropertyAccess, ReactFlightReplyClient.js, ReactFlightServerConfig, and 22 more.
Where is ReactFlightClient.js in the architecture?
ReactFlightClient.js is located at packages/react-client/src/ReactFlightClient.js (domain: BabelCompiler, directory: packages/react-client/src).

Analyze Your Own Codebase

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

Try Supermodel Free