Home / Function/ normalizeSerializedContent() — react Function Reference

normalizeSerializedContent() — react Function Reference

Architecture documentation for the normalizeSerializedContent() function in ReactFlightDOMEdge-test.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  bcd4e21a_47d3_0373_6180_ea15c31a4d65["normalizeSerializedContent()"]
  1ee0c45e_44db_3c2f_1281_64c3aa663927["ReactFlightDOMEdge-test.js"]
  bcd4e21a_47d3_0373_6180_ea15c31a4d65 -->|defined in| 1ee0c45e_44db_3c2f_1281_64c3aa663927
  style bcd4e21a_47d3_0373_6180_ea15c31a4d65 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMEdge-test.js lines 42–44

function normalizeSerializedContent(str) {
  return str.replaceAll(__REACT_ROOT_PATH_TEST__, '**');
}

Domain

Subdomains

Frequently Asked Questions

What does normalizeSerializedContent() do?
normalizeSerializedContent() is a function in the react codebase, defined in packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMEdge-test.js.
Where is normalizeSerializedContent() defined?
normalizeSerializedContent() is defined in packages/react-server-dom-webpack/src/__tests__/ReactFlightDOMEdge-test.js at line 42.

Analyze Your Own Codebase

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

Try Supermodel Free