MCPcopy
hub / github.com/facebook/react / mountTestApp

Function mountTestApp

packages/react-devtools-shell/src/app/index.js:104–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102 '18.2.0',
103);
104function mountTestApp() {
105 mountStrictApp(ToDoList);
106 mountApp(InspectableElements);
107 mountApp(Hydration);
108 mountApp(ElementTypes);
109 mountApp(EditableProps);
110 mountApp(ReactNativeWeb);
111 mountApp(Toggle);
112 mountApp(ErrorBoundaries);
113 mountApp(SuspenseTree);
114 mountApp(DeeplyNestedComponents);
115 mountApp(Iframe);
116 mountApp(TraceUpdatesTest);
117
118 if (shouldRenderLegacy) {
119 mountLegacyApp(PartiallyStrictApp);
120 }
121}
122
123function unmountTestApp() {
124 unmountFunctions.forEach(fn => fn());

Callers 3

index.jsFile · 0.70
app-legacy.jsFile · 0.50
app.jsFile · 0.50

Calls 3

mountStrictAppFunction · 0.85
mountLegacyAppFunction · 0.85
mountAppFunction · 0.70

Tested by

no test coverage detected