AnnotateReactCodeBabelPlugin() — react Function Reference
Architecture documentation for the AnnotateReactCodeBabelPlugin() function in babel-plugin-annotate-react-code.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 1e625f57_3f99_7494_f708_4360b08cce7e["AnnotateReactCodeBabelPlugin()"] 90fd4a4d_9742_70a7_9512_f9dd5b565200["babel-plugin-annotate-react-code.ts"] 1e625f57_3f99_7494_f708_4360b08cce7e -->|defined in| 90fd4a4d_9742_70a7_9512_f9dd5b565200 5269e169_1dd4_8259_43a8_57511e747ea4["annotate()"] 1e625f57_3f99_7494_f708_4360b08cce7e -->|calls| 5269e169_1dd4_8259_43a8_57511e747ea4 style 1e625f57_3f99_7494_f708_4360b08cce7e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/scripts/babel-plugin-annotate-react-code.ts lines 12–23
export default function AnnotateReactCodeBabelPlugin(
_babel: typeof BabelCore,
): BabelCore.PluginObj {
return {
name: 'annotate-react-code',
visitor: {
Program(prog): void {
annotate(prog);
},
},
};
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does AnnotateReactCodeBabelPlugin() do?
AnnotateReactCodeBabelPlugin() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/scripts/babel-plugin-annotate-react-code.ts.
Where is AnnotateReactCodeBabelPlugin() defined?
AnnotateReactCodeBabelPlugin() is defined in compiler/packages/babel-plugin-react-compiler/scripts/babel-plugin-annotate-react-code.ts at line 12.
What does AnnotateReactCodeBabelPlugin() call?
AnnotateReactCodeBabelPlugin() calls 1 function(s): annotate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free