handlelValue() — react Function Reference
Architecture documentation for the handlelValue() function in InlineJsxTransform.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD af679f0b_6b94_6932_33ed_c533b19e7699["handlelValue()"] 5e75c578_acd8_79e6_2aae_0bb0b2c9ce77["InlineJsxTransform.ts"] af679f0b_6b94_6932_33ed_c533b19e7699 -->|defined in| 5e75c578_acd8_79e6_2aae_0bb0b2c9ce77 876d58c8_bfce_a9d8_22c0_b40cc7e22553["inlineJsxTransform()"] 876d58c8_bfce_a9d8_22c0_b40cc7e22553 -->|calls| af679f0b_6b94_6932_33ed_c533b19e7699 style af679f0b_6b94_6932_33ed_c533b19e7699 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts lines 762–778
function handlelValue(
lvalue: Place,
blockId: BlockId,
inlinedJsxDeclarations: InlinedJsxDeclarationMap,
): Place {
const inlinedJsxDeclaration = inlinedJsxDeclarations.get(
lvalue.identifier.declarationId,
);
if (
inlinedJsxDeclaration == null ||
inlinedJsxDeclaration.blockIdsToIgnore.has(blockId)
) {
return lvalue;
}
return {...lvalue, identifier: inlinedJsxDeclaration.identifier};
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does handlelValue() do?
handlelValue() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts.
Where is handlelValue() defined?
handlelValue() is defined in compiler/packages/babel-plugin-react-compiler/src/Optimization/InlineJsxTransform.ts at line 762.
What calls handlelValue()?
handlelValue() is called by 1 function(s): inlineJsxTransform.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free