mountApp() — react Function Reference
Architecture documentation for the mountApp() function in index.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD c4a987c9_086f_21ba_9bf9_c9e95af0b9e0["mountApp()"] 30d76895_4832_9ca3_9e81_e0cdf028c09c["index.js"] c4a987c9_086f_21ba_9bf9_c9e95af0b9e0 -->|defined in| 30d76895_4832_9ca3_9e81_e0cdf028c09c 395115b2_cacf_4dcb_eb4f_9f7045fc5898["mountTestApp()"] 395115b2_cacf_4dcb_eb4f_9f7045fc5898 -->|calls| c4a987c9_086f_21ba_9bf9_c9e95af0b9e0 444f3d11_5167_f186_88b4_454c168bf6f9["createContainer()"] c4a987c9_086f_21ba_9bf9_c9e95af0b9e0 -->|calls| 444f3d11_5167_f186_88b4_454c168bf6f9 style c4a987c9_086f_21ba_9bf9_c9e95af0b9e0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shell/src/app/index.js lines 61–68
function mountApp(App: () => React$Node) {
const container = createContainer();
const root = createRoot(container);
root.render(createElement(App));
unmountFunctions.push(() => root.unmount());
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does mountApp() do?
mountApp() is a function in the react codebase, defined in packages/react-devtools-shell/src/app/index.js.
Where is mountApp() defined?
mountApp() is defined in packages/react-devtools-shell/src/app/index.js at line 61.
What does mountApp() call?
mountApp() calls 1 function(s): createContainer.
What calls mountApp()?
mountApp() is called by 1 function(s): mountTestApp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free