static.node.js — react Source File
Architecture documentation for static.node.js, a javascript file in the react codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 5c258cb3_4ac9_0e51_2d47_d7932ce1f9ea["static.node.js"] 0b5d77d6_fa00_515b_1198_0f2d2642dc21["ReactVersion"] 5c258cb3_4ac9_0e51_2d47_d7932ce1f9ea --> 0b5d77d6_fa00_515b_1198_0f2d2642dc21 style 5c258cb3_4ac9_0e51_2d47_d7932ce1f9ea 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.
*/
// This file is only used for tests.
// It lazily loads the implementation so that we get the correct set of host configs.
import ReactVersion from 'shared/ReactVersion';
export {ReactVersion as version};
export function prerenderToNodeStream() {
return require('./src/server/react-dom-server.node').prerenderToNodeStream.apply(
this,
arguments,
);
}
export function prerender() {
return require('./src/server/react-dom-server.node').prerender.apply(
this,
arguments,
);
}
export function resumeAndPrerenderToNodeStream() {
return require('./src/server/react-dom-server.node').resumeAndPrerenderToNodeStream.apply(
this,
arguments,
);
}
export function resumeAndPrerender() {
return require('./src/server/react-dom-server.node').resumeAndPrerender.apply(
this,
arguments,
);
}
Domain
Subdomains
Dependencies
- ReactVersion
Source
Frequently Asked Questions
What does static.node.js do?
static.node.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 static.node.js?
static.node.js defines 4 function(s): prerender, prerenderToNodeStream, resumeAndPrerender, resumeAndPrerenderToNodeStream.
What does static.node.js depend on?
static.node.js imports 1 module(s): ReactVersion.
Where is static.node.js in the architecture?
static.node.js is located at packages/react-dom/static.node.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-dom).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free