Home / Function/ getStyleXData() — react Function Reference

getStyleXData() — react Function Reference

Architecture documentation for the getStyleXData() function in utils.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  8700af4a_dbd5_9238_ffd7_b74781f36e27["getStyleXData()"]
  19f40fb1_960e_960b_4570_41c17da62024["utils.js"]
  8700af4a_dbd5_9238_ffd7_b74781f36e27 -->|defined in| 19f40fb1_960e_960b_4570_41c17da62024
  e54a31fa_32d4_c3ab_5fba_88e1855ea39b["crawlData()"]
  8700af4a_dbd5_9238_ffd7_b74781f36e27 -->|calls| e54a31fa_32d4_c3ab_5fba_88e1855ea39b
  style 8700af4a_dbd5_9238_ffd7_b74781f36e27 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/backend/StyleX/utils.js lines 15–25

export function getStyleXData(data: any): StyleXPlugin {
  const sources = new Set<string>();
  const resolvedStyles = {};

  crawlData(data, sources, resolvedStyles);

  return {
    sources: Array.from(sources).sort(),
    resolvedStyles,
  };
}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getStyleXData() do?
getStyleXData() is a function in the react codebase, defined in packages/react-devtools-shared/src/backend/StyleX/utils.js.
Where is getStyleXData() defined?
getStyleXData() is defined in packages/react-devtools-shared/src/backend/StyleX/utils.js at line 15.
What does getStyleXData() call?
getStyleXData() calls 1 function(s): crawlData.

Analyze Your Own Codebase

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

Try Supermodel Free