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

Function mountReactDevTools

packages/react-devtools-extensions/src/main/index.js:500–512  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

498}
499
500function mountReactDevTools() {
501 reactPollingInstance = null;
502
503 registerEventsLogger();
504
505 createBridgeAndStore();
506
507 createComponentsPanel();
508 createProfilerPanel();
509 createSourcesEditorPanel();
510 // Suspense Tab is created via the hook
511 // TODO(enableSuspenseTab): Create eagerly once Suspense tab is stable
512}
513
514let reactPollingInstance = null;
515function clearReactPollingInstance() {

Callers

nothing calls this directly

Calls 5

registerEventsLoggerFunction · 0.85
createBridgeAndStoreFunction · 0.85
createComponentsPanelFunction · 0.85
createProfilerPanelFunction · 0.85
createSourcesEditorPanelFunction · 0.85

Tested by

no test coverage detected