skipNestedFunctions() — react Function Reference
Architecture documentation for the skipNestedFunctions() function in Program.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD eb9e4057_3a68_9f01_6ae9_6ed1c436a831["skipNestedFunctions()"] 9aa4477d_960b_1ea1_b6d9_36076aaa70bd["Program.ts"] eb9e4057_3a68_9f01_6ae9_6ed1c436a831 -->|defined in| 9aa4477d_960b_1ea1_b6d9_36076aaa70bd d2202a9e_2022_7233_6674_e1ea8713692c["callsHooksOrCreatesJsx()"] d2202a9e_2022_7233_6674_e1ea8713692c -->|calls| eb9e4057_3a68_9f01_6ae9_6ed1c436a831 2148cf00_8996_be31_be94_747fe87bb264["returnsNonNode()"] 2148cf00_8996_be31_be94_747fe87bb264 -->|calls| eb9e4057_3a68_9f01_6ae9_6ed1c436a831 style eb9e4057_3a68_9f01_6ae9_6ed1c436a831 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts lines 1215–1229
function skipNestedFunctions(
node: NodePath<
t.FunctionDeclaration | t.ArrowFunctionExpression | t.FunctionExpression
>,
) {
return (
fn: NodePath<
t.FunctionDeclaration | t.ArrowFunctionExpression | t.FunctionExpression
>,
): void => {
if (fn.node !== node.node) {
fn.skip();
}
};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does skipNestedFunctions() do?
skipNestedFunctions() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts.
Where is skipNestedFunctions() defined?
skipNestedFunctions() is defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts at line 1215.
What calls skipNestedFunctions()?
skipNestedFunctions() is called by 2 function(s): callsHooksOrCreatesJsx, returnsNonNode.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free