ReactFlightDOMClientEdge.js — react Source File
Architecture documentation for ReactFlightDOMClientEdge.js, a javascript file in the react codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 31f83b6c_42e6_a233_4d06_9050cefeb0de["ReactFlightDOMClientEdge.js"] 13f11621_9a5f_a5aa_48d4_e875ab9694f0["ReactTypes.js"] 31f83b6c_42e6_a233_4d06_9050cefeb0de --> 13f11621_9a5f_a5aa_48d4_e875ab9694f0 afaa7551_ea57_93c2_7525_765a8d07bd4d["ReactFlightClient"] 31f83b6c_42e6_a233_4d06_9050cefeb0de --> afaa7551_ea57_93c2_7525_765a8d07bd4d d3ecb303_8475_b9f7_6403_916712dbd277["ReactFlightReplyClient"] 31f83b6c_42e6_a233_4d06_9050cefeb0de --> d3ecb303_8475_b9f7_6403_916712dbd277 d760bfed_8ff4_8e36_bbe8_dd60e8ce6809["ReactFlightClientConfig"] 31f83b6c_42e6_a233_4d06_9050cefeb0de --> d760bfed_8ff4_8e36_bbe8_dd60e8ce6809 2c80e6ff_e6bd_894a_8397_dc763826c5db["ReactFlightTemporaryReferences"] 31f83b6c_42e6_a233_4d06_9050cefeb0de --> 2c80e6ff_e6bd_894a_8397_dc763826c5db style 31f83b6c_42e6_a233_4d06_9050cefeb0de 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, ReactCustomFormAction} from 'shared/ReactTypes.js';
import type {
DebugChannel,
FindSourceMapURLCallback,
Response as FlightResponse,
} from 'react-client/src/ReactFlightClient';
import type {ReactServerValue} from 'react-client/src/ReactFlightReplyClient';
import type {
ServerConsumerModuleMap,
ModuleLoading,
ServerManifest,
} from 'react-client/src/ReactFlightClientConfig';
type ServerConsumerManifest = {
moduleMap: ServerConsumerModuleMap,
moduleLoading: ModuleLoading,
serverModuleMap: null | ServerManifest,
};
import {
createResponse,
createStreamState,
getRoot,
reportGlobalError,
processBinaryChunk,
close,
} from 'react-client/src/ReactFlightClient';
import {
processReply,
createServerReference as createServerReferenceImpl,
} from 'react-client/src/ReactFlightReplyClient';
export {registerServerReference} from 'react-client/src/ReactFlightReplyClient';
import type {TemporaryReferenceSet} from 'react-client/src/ReactFlightTemporaryReferences';
export {createTemporaryReferenceSet} from 'react-client/src/ReactFlightTemporaryReferences';
export type {TemporaryReferenceSet};
function noServerCall() {
throw new Error(
'Server Functions cannot be called during initial render. ' +
'This would create a fetch waterfall. Try to use a Server Component ' +
'to pass data to Client Components instead.',
);
}
// ... (200 more lines)
Dependencies
- ReactFlightClient
- ReactFlightClientConfig
- ReactFlightReplyClient
- ReactFlightTemporaryReferences
- ReactTypes.js
Source
Frequently Asked Questions
What does ReactFlightDOMClientEdge.js do?
ReactFlightDOMClientEdge.js is a source file in the react codebase, written in javascript.
What does ReactFlightDOMClientEdge.js depend on?
ReactFlightDOMClientEdge.js imports 5 module(s): ReactFlightClient, ReactFlightClientConfig, ReactFlightReplyClient, ReactFlightTemporaryReferences, ReactTypes.js.
Where is ReactFlightDOMClientEdge.js in the architecture?
ReactFlightDOMClientEdge.js is located at packages/react-server-dom-webpack/src/client/ReactFlightDOMClientEdge.js (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