noServerCall() — react Function Reference
Architecture documentation for the noServerCall() function in ReactFlightDOMClientNode.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 7ee7404e_84a7_dc13_6e08_37a7be0a3f20["noServerCall()"] 754b1d7a_2816_c9c0_fc85_bf8336c6d461["ReactFlightDOMClientNode.js"] 7ee7404e_84a7_dc13_6e08_37a7be0a3f20 -->|defined in| 754b1d7a_2816_c9c0_fc85_bf8336c6d461 style 7ee7404e_84a7_dc13_6e08_37a7be0a3f20 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-server-dom-turbopack/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-turbopack/src/client/ReactFlightDOMClientNode.js.
Where is noServerCall() defined?
noServerCall() is defined in packages/react-server-dom-turbopack/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