Home / Class/ Indirection Class — react Architecture

Indirection Class — react Architecture

Architecture documentation for the Indirection class in ReactNewContext-test.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  971022e9_ad14_1e7d_cc46_6e7d674dc3b0["Indirection"]
  382e7256_eb32_dd1d_b5d7_fa78a7166483["ReactNewContext-test.js"]
  971022e9_ad14_1e7d_cc46_6e7d674dc3b0 -->|defined in| 382e7256_eb32_dd1d_b5d7_fa78a7166483
  bcfbe797_493c_f10d_ef4b_f0246b29436c["shouldComponentUpdate()"]
  971022e9_ad14_1e7d_cc46_6e7d674dc3b0 -->|method| bcfbe797_493c_f10d_ef4b_f0246b29436c
  aac6ab55_ab89_7c6f_a71f_c6193fd8d26a["render()"]
  971022e9_ad14_1e7d_cc46_6e7d674dc3b0 -->|method| aac6ab55_ab89_7c6f_a71f_c6193fd8d26a

Relationship Graph

Source Code

packages/react-reconciler/src/__tests__/ReactNewContext-test.js lines 178–186

        class Indirection extends React.Component {
          shouldComponentUpdate() {
            return false;
          }
          render() {
            Scheduler.log('Indirection');
            return this.props.children;
          }
        }

Frequently Asked Questions

What is the Indirection class?
Indirection is a class in the react codebase, defined in packages/react-reconciler/src/__tests__/ReactNewContext-test.js.
Where is Indirection defined?
Indirection is defined in packages/react-reconciler/src/__tests__/ReactNewContext-test.js at line 178.

Analyze Your Own Codebase

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

Try Supermodel Free