Home / Class/ PureIndirection Class — react Architecture

PureIndirection Class — react Architecture

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

Entity Profile

Dependency Diagram

graph TD
  719fafa2_2c16_f6bf_6960_8caa3076d0d3["PureIndirection"]
  382e7256_eb32_dd1d_b5d7_fa78a7166483["ReactNewContext-test.js"]
  719fafa2_2c16_f6bf_6960_8caa3076d0d3 -->|defined in| 382e7256_eb32_dd1d_b5d7_fa78a7166483
  13c068b9_7a6f_a20a_a696_83a4e9b5b958["render()"]
  719fafa2_2c16_f6bf_6960_8caa3076d0d3 -->|method| 13c068b9_7a6f_a20a_a696_83a4e9b5b958

Relationship Graph

Source Code

packages/react-reconciler/src/__tests__/ReactNewContext-test.js lines 644–654

        class PureIndirection extends React.PureComponent {
          render() {
            Scheduler.log('PureIndirection');
            return (
              <>
                <ChildWithInlineRenderCallback />
                <ChildWithCachedRenderCallback />
              </>
            );
          }
        }

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free