ReactFlightDOMClientNode.js — react Source File
Architecture documentation for ReactFlightDOMClientNode.js, a javascript file in the react codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 4704a8bc_288e_1e1b_2802_106fa905efd9["ReactFlightDOMClientNode.js"] 13f11621_9a5f_a5aa_48d4_e875ab9694f0["ReactTypes.js"] 4704a8bc_288e_1e1b_2802_106fa905efd9 --> 13f11621_9a5f_a5aa_48d4_e875ab9694f0 afaa7551_ea57_93c2_7525_765a8d07bd4d["ReactFlightClient"] 4704a8bc_288e_1e1b_2802_106fa905efd9 --> afaa7551_ea57_93c2_7525_765a8d07bd4d d760bfed_8ff4_8e36_bbe8_dd60e8ce6809["ReactFlightClientConfig"] 4704a8bc_288e_1e1b_2802_106fa905efd9 --> d760bfed_8ff4_8e36_bbe8_dd60e8ce6809 84cea5a1_779b_9551_2f54_df77f0973a0f["stream"] 4704a8bc_288e_1e1b_2802_106fa905efd9 --> 84cea5a1_779b_9551_2f54_df77f0973a0f style 4704a8bc_288e_1e1b_2802_106fa905efd9 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,
} from 'react-client/src/ReactFlightClient';
import type {
ServerConsumerModuleMap,
ModuleLoading,
ServerManifest,
} from 'react-client/src/ReactFlightClientConfig';
type ServerConsumerManifest = {
moduleMap: ServerConsumerModuleMap,
moduleLoading: ModuleLoading,
serverModuleMap: null | ServerManifest,
};
import type {Readable} from 'stream';
import {
createResponse,
createStreamState,
getRoot,
reportGlobalError,
processStringChunk,
processBinaryChunk,
close,
} from 'react-client/src/ReactFlightClient';
export * from './ReactFlightDOMClientEdge';
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.',
);
}
type EncodeFormActionCallback = <A>(
id: any,
args: Promise<A>,
) => ReactCustomFormAction;
export type Options = {
nonce?: string,
encodeFormAction?: EncodeFormActionCallback,
unstable_allowPartialStream?: boolean,
// ... (84 more lines)
Domain
Subdomains
Functions
Dependencies
- ReactFlightClient
- ReactFlightClientConfig
- ReactTypes.js
- stream
Source
Frequently Asked Questions
What does ReactFlightDOMClientNode.js do?
ReactFlightDOMClientNode.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 ReactFlightDOMClientNode.js?
ReactFlightDOMClientNode.js defines 2 function(s): handleEnd, noServerCall.
What does ReactFlightDOMClientNode.js depend on?
ReactFlightDOMClientNode.js imports 4 module(s): ReactFlightClient, ReactFlightClientConfig, ReactTypes.js, stream.
Where is ReactFlightDOMClientNode.js in the architecture?
ReactFlightDOMClientNode.js is located at packages/react-server-dom-unbundled/src/client/ReactFlightDOMClientNode.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-server-dom-unbundled/src/client).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free