ReactFlightClientConfigBundlerWebpack.js — react Source File
Architecture documentation for ReactFlightClientConfigBundlerWebpack.js, a javascript file in the react codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 0fb80115_9d90_91b4_1e5b_f4567bf2b01c["ReactFlightClientConfigBundlerWebpack.js"] ecf040cb_2f00_8f57_1b89_0fb87fd99487["ReactFlightImportMetadata.js"] 0fb80115_9d90_91b4_1e5b_f4567bf2b01c --> ecf040cb_2f00_8f57_1b89_0fb87fd99487 aa8c38f2_244b_340b_29fe_8abb5fd0cd6c["isAsyncImport"] 0fb80115_9d90_91b4_1e5b_f4567bf2b01c --> aa8c38f2_244b_340b_29fe_8abb5fd0cd6c d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"] 0fb80115_9d90_91b4_1e5b_f4567bf2b01c --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07 d760bfed_8ff4_8e36_bbe8_dd60e8ce6809["ReactFlightClientConfig"] 0fb80115_9d90_91b4_1e5b_f4567bf2b01c --> d760bfed_8ff4_8e36_bbe8_dd60e8ce6809 a413acd5_7541_e904_f255_d4dd9b5e5bc1["hasOwnProperty"] 0fb80115_9d90_91b4_1e5b_f4567bf2b01c --> a413acd5_7541_e904_f255_d4dd9b5e5bc1 style 0fb80115_9d90_91b4_1e5b_f4567bf2b01c 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,
FulfilledThenable,
RejectedThenable,
ReactDebugInfo,
} from 'shared/ReactTypes';
import type {
ImportMetadata,
ImportManifestEntry,
} from '../shared/ReactFlightImportMetadata';
import type {ModuleLoading} from 'react-client/src/ReactFlightClientConfig';
import {
ID,
CHUNKS,
NAME,
isAsyncImport,
} from '../shared/ReactFlightImportMetadata';
import {prepareDestinationWithChunks} from 'react-client/src/ReactFlightClientConfig';
import {
loadChunk,
addChunkDebugInfo,
} from 'react-client/src/ReactFlightClientConfig';
import hasOwnProperty from 'shared/hasOwnProperty';
export type ServerConsumerModuleMap = null | {
[clientId: string]: {
[clientExportName: string]: ClientReferenceManifestEntry,
},
};
export type ServerManifest = {
[id: string]: ImportManifestEntry,
};
export type ServerReferenceId = string;
export opaque type ClientReferenceManifestEntry = ImportManifestEntry;
export opaque type ClientReferenceMetadata = ImportMetadata;
// eslint-disable-next-line no-unused-vars
export opaque type ClientReference<T> = ClientReferenceMetadata;
// The reason this function needs to defined here in this file instead of just
// being exported directly from the WebpackDestination... file is because the
// ClientReferenceMetadata is opaque and we can't unwrap it there.
// This should get inlined and we could also just implement an unwrapping function
// ... (220 more lines)
Domain
Subdomains
Functions
Dependencies
- ReactFlightClientConfig
- ReactFlightImportMetadata.js
- ReactTypes
- hasOwnProperty
- isAsyncImport
Source
Frequently Asked Questions
What does ReactFlightClientConfigBundlerWebpack.js do?
ReactFlightClientConfigBundlerWebpack.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 ReactFlightClientConfigBundlerWebpack.js?
ReactFlightClientConfigBundlerWebpack.js defines 1 function(s): prepareDestinationForModule.
What does ReactFlightClientConfigBundlerWebpack.js depend on?
ReactFlightClientConfigBundlerWebpack.js imports 5 module(s): ReactFlightClientConfig, ReactFlightImportMetadata.js, ReactTypes, hasOwnProperty, isAsyncImport.
Where is ReactFlightClientConfigBundlerWebpack.js in the architecture?
ReactFlightClientConfigBundlerWebpack.js is located at packages/react-server-dom-webpack/src/client/ReactFlightClientConfigBundlerWebpack.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-server-dom-webpack/src/client).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free