Home / Function/ printOwnersList() — react Function Reference

printOwnersList() — react Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  cd600574_1ffb_5784_38e6_bf5967970c79["printOwnersList()"]
  fa31bba5_57ed_1039_52bb_4a8cb4382642["utils.js"]
  cd600574_1ffb_5784_38e6_bf5967970c79 -->|defined in| fa31bba5_57ed_1039_52bb_4a8cb4382642
  3900d299_1b5e_8f06_db86_8036ae03467a["printElement()"]
  cd600574_1ffb_5784_38e6_bf5967970c79 -->|calls| 3900d299_1b5e_8f06_db86_8036ae03467a
  style cd600574_1ffb_5784_38e6_bf5967970c79 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/devtools/utils.js lines 91–98

export function printOwnersList(
  elements: Array<Element>,
  includeWeight: boolean = false,
): string {
  return elements
    .map(element => printElement(element, includeWeight))
    .join('\n');
}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free