ReactFlightDOMClientBrowser.js — react Source File
Architecture documentation for ReactFlightDOMClientBrowser.js, a javascript file in the react codebase. 4 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 79f081df_8d28_709b_6a3f_70537a3826a4["ReactFlightDOMClientBrowser.js"] 13f11621_9a5f_a5aa_48d4_e875ab9694f0["ReactTypes.js"] 79f081df_8d28_709b_6a3f_70537a3826a4 --> 13f11621_9a5f_a5aa_48d4_e875ab9694f0 afaa7551_ea57_93c2_7525_765a8d07bd4d["ReactFlightClient"] 79f081df_8d28_709b_6a3f_70537a3826a4 --> afaa7551_ea57_93c2_7525_765a8d07bd4d d3ecb303_8475_b9f7_6403_916712dbd277["ReactFlightReplyClient"] 79f081df_8d28_709b_6a3f_70537a3826a4 --> d3ecb303_8475_b9f7_6403_916712dbd277 2c80e6ff_e6bd_894a_8397_dc763826c5db["ReactFlightTemporaryReferences"] 79f081df_8d28_709b_6a3f_70537a3826a4 --> 2c80e6ff_e6bd_894a_8397_dc763826c5db style 79f081df_8d28_709b_6a3f_70537a3826a4 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} from 'shared/ReactTypes.js';
import type {
DebugChannel,
DebugChannelCallback,
FindSourceMapURLCallback,
Response as FlightResponse,
} from 'react-client/src/ReactFlightClient';
import type {ReactServerValue} from 'react-client/src/ReactFlightReplyClient';
import {
createResponse,
createStreamState,
getRoot,
reportGlobalError,
processBinaryChunk,
processStringChunk,
close,
injectIntoDevTools,
} from 'react-client/src/ReactFlightClient';
import {processReply} from 'react-client/src/ReactFlightReplyClient';
export {
createServerReference,
registerServerReference,
} from 'react-client/src/ReactFlightReplyClient';
import type {TemporaryReferenceSet} from 'react-client/src/ReactFlightTemporaryReferences';
export {createTemporaryReferenceSet} from 'react-client/src/ReactFlightTemporaryReferences';
export type {TemporaryReferenceSet};
type CallServerCallback = <A, T>(string, args: A) => Promise<T>;
export type Options = {
callServer?: CallServerCallback,
debugChannel?: {writable?: WritableStream, readable?: ReadableStream, ...},
temporaryReferences?: TemporaryReferenceSet,
unstable_allowPartialStream?: boolean,
findSourceMapURL?: FindSourceMapURLCallback,
replayConsoleLogs?: boolean,
environmentName?: string,
startTime?: number,
endTime?: number,
};
function createDebugCallbackFromWritableStream(
debugWritable: WritableStream,
// ... (237 more lines)
Domain
Subdomains
Functions
Dependencies
- ReactFlightClient
- ReactFlightReplyClient
- ReactFlightTemporaryReferences
- ReactTypes.js
Source
Frequently Asked Questions
What does ReactFlightDOMClientBrowser.js do?
ReactFlightDOMClientBrowser.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 ReactFlightDOMClientBrowser.js?
ReactFlightDOMClientBrowser.js defines 2 function(s): error, handleDone.
What does ReactFlightDOMClientBrowser.js depend on?
ReactFlightDOMClientBrowser.js imports 4 module(s): ReactFlightClient, ReactFlightReplyClient, ReactFlightTemporaryReferences, ReactTypes.js.
Where is ReactFlightDOMClientBrowser.js in the architecture?
ReactFlightDOMClientBrowser.js is located at packages/react-server-dom-webpack/src/client/ReactFlightDOMClientBrowser.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