ReactDOMFizzServerBun.js — react Source File
Architecture documentation for ReactDOMFizzServerBun.js, a javascript file in the react codebase. 7 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 6898e92d_5a8e_4e14_f072_6350d23a334d["ReactDOMFizzServerBun.js"] a4b0922c_f703_f99d_9884_88c43f8f2825["ReactDOMTypes.js"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> a4b0922c_f703_f99d_9884_88c43f8f2825 fbf4b833_61f4_4635_7878_2b32dd45eef3["ensureCorrectIsomorphicReactVersion.js"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> fbf4b833_61f4_4635_7878_2b32dd45eef3 e37db8d5_c1fd_9269_069f_956f9fbcc8a7["ensureCorrectIsomorphicReactVersion"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> e37db8d5_c1fd_9269_069f_956f9fbcc8a7 d8f20c67_f5fa_0f0a_c967_c41fd9ffce07["ReactTypes"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> d8f20c67_f5fa_0f0a_c967_c41fd9ffce07 0007d323_0c7d_faa0_6434_4c73e7b3d66e["ReactFizzConfigDOM"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> 0007d323_0c7d_faa0_6434_4c73e7b3d66e ca40cfc0_4531_f3fa_7600_53b0400a208c["ReactFizzServer"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> ca40cfc0_4531_f3fa_7600_53b0400a208c 0b5d77d6_fa00_515b_1198_0f2d2642dc21["ReactVersion"] 6898e92d_5a8e_4e14_f072_6350d23a334d --> 0b5d77d6_fa00_515b_1198_0f2d2642dc21 style 6898e92d_5a8e_4e14_f072_6350d23a334d 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 {ReactNodeList, ReactFormState} from 'shared/ReactTypes';
import type {
BootstrapScriptDescriptor,
HeadersDescriptor,
} from 'react-dom-bindings/src/server/ReactFizzConfigDOM';
import type {ImportMap} from '../shared/ReactDOMTypes';
import type {ErrorInfo} from 'react-server/src/ReactFizzServer';
import ReactVersion from 'shared/ReactVersion';
import {
createRequest,
startWork,
startFlowing,
stopFlowing,
abort,
} from 'react-server/src/ReactFizzServer';
import {
createResumableState,
createRenderState,
createRootFormatContext,
} from 'react-dom-bindings/src/server/ReactFizzConfigDOM';
import {ensureCorrectIsomorphicReactVersion} from '../shared/ensureCorrectIsomorphicReactVersion';
ensureCorrectIsomorphicReactVersion();
type Options = {
identifierPrefix?: string,
namespaceURI?: string,
nonce?:
| string
| {
script?: string,
style?: string,
},
bootstrapScriptContent?: string,
bootstrapScripts?: Array<string | BootstrapScriptDescriptor>,
bootstrapModules?: Array<string | BootstrapScriptDescriptor>,
progressiveChunkSize?: number,
signal?: AbortSignal,
onError?: (error: mixed, errorInfo: ErrorInfo) => ?string,
unstable_externalRuntimeSrc?: string | BootstrapScriptDescriptor,
importMap?: ImportMap,
formState?: ReactFormState<any, any> | null,
onHeaders?: (headers: Headers) => void,
maxHeadersLength?: number,
};
// TODO: Move to sub-classing ReadableStream.
type ReactDOMServerReadableStream = ReadableStream & {
// ... (96 more lines)
Domain
Subdomains
Functions
Dependencies
- ReactDOMTypes.js
- ReactFizzConfigDOM
- ReactFizzServer
- ReactTypes
- ReactVersion
- ensureCorrectIsomorphicReactVersion
- ensureCorrectIsomorphicReactVersion.js
Source
Frequently Asked Questions
What does ReactDOMFizzServerBun.js do?
ReactDOMFizzServerBun.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 ReactDOMFizzServerBun.js?
ReactDOMFizzServerBun.js defines 1 function(s): Options.onHeaders.
What does ReactDOMFizzServerBun.js depend on?
ReactDOMFizzServerBun.js imports 7 module(s): ReactDOMTypes.js, ReactFizzConfigDOM, ReactFizzServer, ReactTypes, ReactVersion, ensureCorrectIsomorphicReactVersion, ensureCorrectIsomorphicReactVersion.js.
Where is ReactDOMFizzServerBun.js in the architecture?
ReactDOMFizzServerBun.js is located at packages/react-dom/src/server/ReactDOMFizzServerBun.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-dom/src/server).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free