Home / Class/ Root Class — react Architecture

Root Class — react Architecture

Architecture documentation for the Root class in ReactIncremental-test.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  4cdb45ae_4444_8bed_aa40_2d11bfebad67["Root"]
  e830a60d_4147_3606_7890_6db744e9073f["ReactIncremental-test.js"]
  4cdb45ae_4444_8bed_aa40_2d11bfebad67 -->|defined in| e830a60d_4147_3606_7890_6db744e9073f
  91eeb45d_6f1a_5eee_712b_78867ae8aafe["render()"]
  4cdb45ae_4444_8bed_aa40_2d11bfebad67 -->|method| 91eeb45d_6f1a_5eee_712b_78867ae8aafe
  a3212c34_6481_6078_0834_6860ff4932c7["componentDidCatch()"]
  4cdb45ae_4444_8bed_aa40_2d11bfebad67 -->|method| a3212c34_6481_6078_0834_6860ff4932c7

Relationship Graph

Source Code

packages/react-reconciler/src/__tests__/ReactIncremental-test.js lines 2183–2187

    class Root extends React.Component {
      render() {
        return <Middle {...this.props} />;
      }
    }

Frequently Asked Questions

What is the Root class?
Root is a class in the react codebase, defined in packages/react-reconciler/src/__tests__/ReactIncremental-test.js.
Where is Root defined?
Root is defined in packages/react-reconciler/src/__tests__/ReactIncremental-test.js at line 2183.

Analyze Your Own Codebase

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

Try Supermodel Free