ReactFlightReplyServer.js — react Source File
Architecture documentation for ReactFlightReplyServer.js, a javascript file in the react codebase. 7 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 99eaa032_70fb_6638_05e7_4d3f46e29df3["ReactFlightReplyServer.js"] 749d7b5e_3580_d461_8c23_23cf2585bd8e["ReactFlightServerTemporaryReferences.js"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> 749d7b5e_3580_d461_8c23_23cf2585bd8e d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07 d760bfed_8ff4_8e36_bbe8_dd60e8ce6809["ReactFlightClientConfig"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> d760bfed_8ff4_8e36_bbe8_dd60e8ce6809 e1e1de60_2be4_0643_45fb_e2c306735427["ReactSymbols"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> e1e1de60_2be4_0643_45fb_e2c306735427 a413acd5_7541_e904_f255_d4dd9b5e5bc1["hasOwnProperty"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> a413acd5_7541_e904_f255_d4dd9b5e5bc1 12b1040a_3a93_df40_9c68_e6293b207a7a["getPrototypeOf"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> 12b1040a_3a93_df40_9c68_e6293b207a7a af78c51d_c7cb_3bf4_550f_f3fcc48f4f34["isArray"] 99eaa032_70fb_6638_05e7_4d3f46e29df3 --> af78c51d_c7cb_3bf4_550f_f3fcc48f4f34 483ace45_0de6_a570_3113_a4bbee498ac8["ReactFlightActionServer.js"] 483ace45_0de6_a570_3113_a4bbee498ac8 --> 99eaa032_70fb_6638_05e7_4d3f46e29df3 style 99eaa032_70fb_6638_05e7_4d3f46e29df3 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';
// The server acts as a Client of itself when resolving Server References.
// That's why we import the Client configuration from the Server.
// Everything is aliased as their Server equivalence for clarity.
import type {
ServerReferenceId,
ServerManifest,
ClientReference as ServerReference,
} from 'react-client/src/ReactFlightClientConfig';
import type {TemporaryReferenceSet} from './ReactFlightServerTemporaryReferences';
import {
resolveServerReference,
preloadModule,
requireModule,
} from 'react-client/src/ReactFlightClientConfig';
import {
createTemporaryReference,
registerTemporaryReference,
} from './ReactFlightServerTemporaryReferences';
import {ASYNC_ITERATOR} from 'shared/ReactSymbols';
import hasOwnProperty from 'shared/hasOwnProperty';
import getPrototypeOf from 'shared/getPrototypeOf';
import isArray from 'shared/isArray';
interface FlightStreamController {
enqueueModel(json: string): void;
close(json: string): void;
error(error: Error): void;
}
export type JSONValue =
| number
| null
| boolean
| string
| {+[key: string]: JSONValue}
| $ReadOnlyArray<JSONValue>;
const PENDING = 'pending';
const BLOCKED = 'blocked';
const RESOLVED_MODEL = 'resolved_model';
const INITIALIZED = 'fulfilled';
const ERRORED = 'rejected';
const __PROTO__ = '__proto__';
// ... (1877 more lines)
Domain
Dependencies
- ReactFlightClientConfig
- ReactFlightServerTemporaryReferences.js
- ReactSymbols
- ReactTypes
- getPrototypeOf
- hasOwnProperty
- isArray
Source
Frequently Asked Questions
What does ReactFlightReplyServer.js do?
ReactFlightReplyServer.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactFlightReplyServer.js depend on?
ReactFlightReplyServer.js imports 7 module(s): ReactFlightClientConfig, ReactFlightServerTemporaryReferences.js, ReactSymbols, ReactTypes, getPrototypeOf, hasOwnProperty, isArray.
What files import ReactFlightReplyServer.js?
ReactFlightReplyServer.js is imported by 1 file(s): ReactFlightActionServer.js.
Where is ReactFlightReplyServer.js in the architecture?
ReactFlightReplyServer.js is located at packages/react-server/src/ReactFlightReplyServer.js (domain: BabelCompiler, directory: packages/react-server/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free