Home / Function/ readReactElementTypeof() — react Function Reference

readReactElementTypeof() — react Function Reference

Architecture documentation for the readReactElementTypeof() function in ReactPerformanceTrackProperties.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  ed6f34bf_92f7_ea5d_1e18_f0b732c3f0da["readReactElementTypeof()"]
  b0d758a8_615d_45ad_e2e2_843278426960["ReactPerformanceTrackProperties.js"]
  ed6f34bf_92f7_ea5d_1e18_f0b732c3f0da -->|defined in| b0d758a8_615d_45ad_e2e2_843278426960
  f57b9904_83aa_6b26_ca52_4cf0fa795144["addValueToProperties()"]
  f57b9904_83aa_6b26_ca52_4cf0fa795144 -->|calls| ed6f34bf_92f7_ea5d_1e18_f0b732c3f0da
  8e0d87e0_ef2f_ba84_1936_008118cabb0e["addObjectDiffToProperties()"]
  8e0d87e0_ef2f_ba84_1936_008118cabb0e -->|calls| ed6f34bf_92f7_ea5d_1e18_f0b732c3f0da
  style ed6f34bf_92f7_ea5d_1e18_f0b732c3f0da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/shared/ReactPerformanceTrackProperties.js lines 85–90

function readReactElementTypeof(value: Object): mixed {
  // Prevents dotting into $$typeof in opaque origin windows.
  return '$$typeof' in value && hasOwnProperty.call(value, '$$typeof')
    ? value.$$typeof
    : undefined;
}

Domain

Subdomains

Frequently Asked Questions

What does readReactElementTypeof() do?
readReactElementTypeof() is a function in the react codebase, defined in packages/shared/ReactPerformanceTrackProperties.js.
Where is readReactElementTypeof() defined?
readReactElementTypeof() is defined in packages/shared/ReactPerformanceTrackProperties.js at line 85.
What calls readReactElementTypeof()?
readReactElementTypeof() is called by 2 function(s): addObjectDiffToProperties, addValueToProperties.

Analyze Your Own Codebase

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

Try Supermodel Free