Home / Function/ mountReactDevTools() — react Function Reference

mountReactDevTools() — react Function Reference

Architecture documentation for the mountReactDevTools() function in index.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b["mountReactDevTools()"]
  b5e42467_7633_e234_1d51_a93bfc4818c7["index.js"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|defined in| b5e42467_7633_e234_1d51_a93bfc4818c7
  c53ee520_0de7_4f12_9355_258dd586d2b4["registerEventsLogger()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| c53ee520_0de7_4f12_9355_258dd586d2b4
  bb19f56d_5cc8_e6cd_8df2_513f1715da12["createBridgeAndStore()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| bb19f56d_5cc8_e6cd_8df2_513f1715da12
  9e41b298_cbab_7d62_b737_6a99e25293a4["createComponentsPanel()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| 9e41b298_cbab_7d62_b737_6a99e25293a4
  b371137d_1853_8d32_ae95_4a51462cd828["createProfilerPanel()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| b371137d_1853_8d32_ae95_4a51462cd828
  dbf29cfb_6f44_140e_1337_d4c8eaf0d96e["createSourcesEditorPanel()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| dbf29cfb_6f44_140e_1337_d4c8eaf0d96e
  6dd961d3_298e_39d3_c501_0143d429fc2f["createElementsInspectPanel()"]
  fcc10411_2c67_c71c_4b48_a0e0e4d6e62b -->|calls| 6dd961d3_298e_39d3_c501_0143d429fc2f
  style fcc10411_2c67_c71c_4b48_a0e0e4d6e62b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-extensions/src/main/index.js lines 557–570

function mountReactDevTools() {
  reactPollingInstance = null;

  registerEventsLogger();

  createBridgeAndStore();

  createComponentsPanel();
  createProfilerPanel();
  createSourcesEditorPanel();
  createElementsInspectPanel();
  // Suspense Tab is created via the hook
  // TODO(enableSuspenseTab): Create eagerly once Suspense tab is stable
}

Domain

Subdomains

Frequently Asked Questions

What does mountReactDevTools() do?
mountReactDevTools() is a function in the react codebase, defined in packages/react-devtools-extensions/src/main/index.js.
Where is mountReactDevTools() defined?
mountReactDevTools() is defined in packages/react-devtools-extensions/src/main/index.js at line 557.
What does mountReactDevTools() call?
mountReactDevTools() calls 6 function(s): createBridgeAndStore, createComponentsPanel, createElementsInspectPanel, createProfilerPanel, createSourcesEditorPanel, registerEventsLogger.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free