ReactFlightDOMClientBrowser.js — react Source File
Architecture documentation for ReactFlightDOMClientBrowser.js, a javascript file in the react codebase. 5 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 27a356d6_7c60_abf0_55b3_e519b8067657["ReactFlightDOMClientBrowser.js"] 90ff5f50_37e1_106e_b9fe_73fac9d23b50["ReactFlightClientConfigBundlerParcel.js"] 27a356d6_7c60_abf0_55b3_e519b8067657 --> 90ff5f50_37e1_106e_b9fe_73fac9d23b50 13f11621_9a5f_a5aa_48d4_e875ab9694f0["ReactTypes.js"] 27a356d6_7c60_abf0_55b3_e519b8067657 --> 13f11621_9a5f_a5aa_48d4_e875ab9694f0 afaa7551_ea57_93c2_7525_765a8d07bd4d["ReactFlightClient"] 27a356d6_7c60_abf0_55b3_e519b8067657 --> afaa7551_ea57_93c2_7525_765a8d07bd4d d3ecb303_8475_b9f7_6403_916712dbd277["ReactFlightReplyClient"] 27a356d6_7c60_abf0_55b3_e519b8067657 --> d3ecb303_8475_b9f7_6403_916712dbd277 2c80e6ff_e6bd_894a_8397_dc763826c5db["ReactFlightTemporaryReferences"] 27a356d6_7c60_abf0_55b3_e519b8067657 --> 2c80e6ff_e6bd_894a_8397_dc763826c5db style 27a356d6_7c60_abf0_55b3_e519b8067657 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,
Response as FlightResponse,
} from 'react-client/src/ReactFlightClient';
import type {ReactServerValue} from 'react-client/src/ReactFlightReplyClient';
import type {ServerReferenceId} from '../client/ReactFlightClientConfigBundlerParcel';
import {
createResponse,
createStreamState,
getRoot,
reportGlobalError,
processBinaryChunk,
processStringChunk,
close,
injectIntoDevTools,
} 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 findSourceMapURL(filename: string, environmentName: string) {
const devServer = parcelRequire.meta.devServer;
if (devServer != null) {
const qs = new URLSearchParams();
qs.set('filename', filename);
qs.set('env', environmentName);
return devServer + '/__parcel_source_map?' + qs.toString();
}
return null;
}
type CallServerCallback = <A, T>(id: string, args: A) => Promise<T>;
let callServer: CallServerCallback | null = null;
export function setServerCallback(fn: CallServerCallback) {
callServer = fn;
}
function callCurrentServerCallback<A, T>(
// ... (269 more lines)
Domain
Dependencies
- ReactFlightClient
- ReactFlightClientConfigBundlerParcel.js
- 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.
What does ReactFlightDOMClientBrowser.js depend on?
ReactFlightDOMClientBrowser.js imports 5 module(s): ReactFlightClient, ReactFlightClientConfigBundlerParcel.js, ReactFlightReplyClient, ReactFlightTemporaryReferences, ReactTypes.js.
Where is ReactFlightDOMClientBrowser.js in the architecture?
ReactFlightDOMClientBrowser.js is located at packages/react-server-dom-parcel/src/client/ReactFlightDOMClientBrowser.js (domain: BabelCompiler, directory: packages/react-server-dom-parcel/src/client).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free