Home / File/ ReactFlightReplyClient.js — react Source File

ReactFlightReplyClient.js — react Source File

Architecture documentation for ReactFlightReplyClient.js, a javascript file in the react codebase. 9 imports, 1 dependents.

File javascript BabelCompiler 9 imports 1 dependents

Entity Profile

Dependency Diagram

graph LR
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b["ReactFlightReplyClient.js"]
  73765280_0862_bd9c_d2a8_1d392fbaf14a["ReactFlightTemporaryReferences.js"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> 73765280_0862_bd9c_d2a8_1d392fbaf14a
  3a64f954_789b_3e52_1476_4674926746da["writeTemporaryReference"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> 3a64f954_789b_3e52_1476_4674926746da
  c194ca77_7680_ecfa_56a0_2826e7118944["ReactFlightClientConfig.js"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> c194ca77_7680_ecfa_56a0_2826e7118944
  d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07
  ebbd7451_c238_0c5d_d01e_21d7c2d60653["ReactLazy"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> ebbd7451_c238_0c5d_d01e_21d7c2d60653
  e1e1de60_2be4_0643_45fb_e2c306735427["ReactSymbols"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> e1e1de60_2be4_0643_45fb_e2c306735427
  dc1ff248_b6a6_905b_919c_8ed2479d2874["ReactSerializationErrors"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> dc1ff248_b6a6_905b_919c_8ed2479d2874
  af78c51d_c7cb_3bf4_550f_f3fcc48f4f34["isArray"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> af78c51d_c7cb_3bf4_550f_f3fcc48f4f34
  12b1040a_3a93_df40_9c68_e6293b207a7a["getPrototypeOf"]
  8b1d822f_43a1_46eb_6bb6_c60d9e26a35b --> 12b1040a_3a93_df40_9c68_e6293b207a7a
  61eb841d_69e6_7047_22ce_b71bae029dcd["ReactFlightClient.js"]
  61eb841d_69e6_7047_22ce_b71bae029dcd --> 8b1d822f_43a1_46eb_6bb6_c60d9e26a35b
  style 8b1d822f_43a1_46eb_6bb6_c60d9e26a35b 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,
  PendingThenable,
  FulfilledThenable,
  RejectedThenable,
  ReactCustomFormAction,
  ReactFunctionLocation,
} from 'shared/ReactTypes';
import type {LazyComponent} from 'react/src/ReactLazy';
import type {TemporaryReferenceSet} from './ReactFlightTemporaryReferences';

import {
  REACT_ELEMENT_TYPE,
  REACT_LAZY_TYPE,
  REACT_CONTEXT_TYPE,
  getIteratorFn,
  ASYNC_ITERATOR,
} from 'shared/ReactSymbols';

import {
  describeObjectForErrorMessage,
  isSimpleObject,
  objectName,
} from 'shared/ReactSerializationErrors';

import {writeTemporaryReference} from './ReactFlightTemporaryReferences';

import isArray from 'shared/isArray';
import getPrototypeOf from 'shared/getPrototypeOf';

const ObjectPrototype = Object.prototype;

import {
  usedWithSSR,
  checkEvalAvailabilityOnceDev,
} from './ReactFlightClientConfig';

type ReactJSONValue =
  | string
  | boolean
  | number
  | null
  | $ReadOnlyArray<ReactJSONValue>
  | ReactServerObject;

export opaque type ServerReference<T> = T;

export type CallServerCallback = <A, T>(id: any, args: A) => Promise<T>;

export type EncodeFormActionCallback = <A>(
  id: any,
// ... (1392 more lines)

Domain

Dependencies

Frequently Asked Questions

What does ReactFlightReplyClient.js do?
ReactFlightReplyClient.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What does ReactFlightReplyClient.js depend on?
ReactFlightReplyClient.js imports 9 module(s): ReactFlightClientConfig.js, ReactFlightTemporaryReferences.js, ReactLazy, ReactSerializationErrors, ReactSymbols, ReactTypes, getPrototypeOf, isArray, and 1 more.
What files import ReactFlightReplyClient.js?
ReactFlightReplyClient.js is imported by 1 file(s): ReactFlightClient.js.
Where is ReactFlightReplyClient.js in the architecture?
ReactFlightReplyClient.js is located at packages/react-client/src/ReactFlightReplyClient.js (domain: BabelCompiler, directory: packages/react-client/src).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free