Home / Function/ assertNoOverlappingComponentMeasure() — react Function Reference

assertNoOverlappingComponentMeasure() — react Function Reference

Architecture documentation for the assertNoOverlappingComponentMeasure() function in preprocessData.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  371f8c85_18ec_cf51_8781_4c5301a82564["assertNoOverlappingComponentMeasure()"]
  a3f7147d_da0b_56dc_ffc9_a9e2bbc4526a["preprocessData.js"]
  371f8c85_18ec_cf51_8781_4c5301a82564 -->|defined in| a3f7147d_da0b_56dc_ffc9_a9e2bbc4526a
  4742a5ec_80ec_cb9d_6adb_2dfcc87c1cee["processReactComponentMeasure()"]
  4742a5ec_80ec_cb9d_6adb_2dfcc87c1cee -->|calls| 371f8c85_18ec_cf51_8781_4c5301a82564
  style 371f8c85_18ec_cf51_8781_4c5301a82564 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-timeline/src/import-worker/preprocessData.js lines 807–814

function assertNoOverlappingComponentMeasure(state: ProcessorState) {
  if (state.currentReactComponentMeasure !== null) {
    console.error(
      'Component measure started while another measure in progress:',
      state.currentReactComponentMeasure,
    );
  }
}

Domain

Subdomains

Frequently Asked Questions

What does assertNoOverlappingComponentMeasure() do?
assertNoOverlappingComponentMeasure() is a function in the react codebase, defined in packages/react-devtools-timeline/src/import-worker/preprocessData.js.
Where is assertNoOverlappingComponentMeasure() defined?
assertNoOverlappingComponentMeasure() is defined in packages/react-devtools-timeline/src/import-worker/preprocessData.js at line 807.
What calls assertNoOverlappingComponentMeasure()?
assertNoOverlappingComponentMeasure() is called by 1 function(s): processReactComponentMeasure.

Analyze Your Own Codebase

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

Try Supermodel Free