noServerCall() — react Function Reference
Architecture documentation for the noServerCall() function in ReactFlightDOMClientNode.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 044e658e_1392_c6ad_53ba_f3cf7463223f["noServerCall()"] 4704a8bc_288e_1e1b_2802_106fa905efd9["ReactFlightDOMClientNode.js"] 044e658e_1392_c6ad_53ba_f3cf7463223f -->|defined in| 4704a8bc_288e_1e1b_2802_106fa905efd9 style 044e658e_1392_c6ad_53ba_f3cf7463223f fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-server-dom-unbundled/src/client/ReactFlightDOMClientNode.js lines 44–50
function noServerCall() {
throw new Error(
'Server Functions cannot be called during initial render. ' +
'This would create a fetch waterfall. Try to use a Server Component ' +
'to pass data to Client Components instead.',
);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does noServerCall() do?
noServerCall() is a function in the react codebase, defined in packages/react-server-dom-unbundled/src/client/ReactFlightDOMClientNode.js.
Where is noServerCall() defined?
noServerCall() is defined in packages/react-server-dom-unbundled/src/client/ReactFlightDOMClientNode.js at line 44.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free