Home / Function/ print() — react Function Reference

print() — react Function Reference

Architecture documentation for the print() function in profilingSerializer.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  e131b7b5_5d27_082e_0048_a71efbf07696["print()"]
  88b54546_7e9a_9f5d_1ea3_11350e7b725e["profilingSerializer.js"]
  e131b7b5_5d27_082e_0048_a71efbf07696 -->|defined in| 88b54546_7e9a_9f5d_1ea3_11350e7b725e
  style e131b7b5_5d27_082e_0048_a71efbf07696 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/__tests__/__serializers__/profilingSerializer.js lines 20–25

export function print(profile, serialize, indent) {
  return serialize({
    ...profile,
    reactVersion: FILTERED_VERSION_STRING,
  });
}

Domain

Subdomains

Frequently Asked Questions

What does print() do?
print() is a function in the react codebase, defined in packages/react-devtools-shared/src/__tests__/__serializers__/profilingSerializer.js.
Where is print() defined?
print() is defined in packages/react-devtools-shared/src/__tests__/__serializers__/profilingSerializer.js at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free