mountStrictApp() — react Function Reference
Architecture documentation for the mountStrictApp() function in index.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD 909bdf12_4dd5_f64b_6dfa_8e523669095e["mountStrictApp()"] 30d76895_4832_9ca3_9e81_e0cdf028c09c["index.js"] 909bdf12_4dd5_f64b_6dfa_8e523669095e -->|defined in| 30d76895_4832_9ca3_9e81_e0cdf028c09c 395115b2_cacf_4dcb_eb4f_9f7045fc5898["mountTestApp()"] 395115b2_cacf_4dcb_eb4f_9f7045fc5898 -->|calls| 909bdf12_4dd5_f64b_6dfa_8e523669095e 444f3d11_5167_f186_88b4_454c168bf6f9["createContainer()"] 909bdf12_4dd5_f64b_6dfa_8e523669095e -->|calls| 444f3d11_5167_f186_88b4_454c168bf6f9 style 909bdf12_4dd5_f64b_6dfa_8e523669095e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/react-devtools-shell/src/app/index.js lines 71–82
function mountStrictApp(App) {
function StrictRoot() {
return createElement(App);
}
const container = createContainer();
const root = createRoot(container, {unstable_strictMode: true});
root.render(createElement(StrictRoot));
unmountFunctions.push(() => root.unmount());
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does mountStrictApp() do?
mountStrictApp() is a function in the react codebase, defined in packages/react-devtools-shell/src/app/index.js.
Where is mountStrictApp() defined?
mountStrictApp() is defined in packages/react-devtools-shell/src/app/index.js at line 71.
What does mountStrictApp() call?
mountStrictApp() calls 1 function(s): createContainer.
What calls mountStrictApp()?
mountStrictApp() 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