Home / Class/ Wrapper Class — react Architecture

Wrapper Class — react Architecture

Architecture documentation for the Wrapper class in ReactIncrementalSideEffects-test.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  05ab6fa8_50d0_f90a_28e1_4070930ee287["Wrapper"]
  104266dd_053f_943b_5eb9_7fe0f38beced["ReactIncrementalSideEffects-test.js"]
  05ab6fa8_50d0_f90a_28e1_4070930ee287 -->|defined in| 104266dd_053f_943b_5eb9_7fe0f38beced
  31e400dd_4a00_bc53_a675_b5fa7143a12e["componentWillUnmount()"]
  05ab6fa8_50d0_f90a_28e1_4070930ee287 -->|method| 31e400dd_4a00_bc53_a675_b5fa7143a12e
  98a8e510_c566_0468_fb05_3dd99f4a732c["render()"]
  05ab6fa8_50d0_f90a_28e1_4070930ee287 -->|method| 98a8e510_c566_0468_fb05_3dd99f4a732c
  f717f2f6_2a9a_394e_5354_b6271e4cb552["componentDidMount()"]
  05ab6fa8_50d0_f90a_28e1_4070930ee287 -->|method| f717f2f6_2a9a_394e_5354_b6271e4cb552
  a88f8b18_f5ab_341f_1245_efa83aceedcf["componentDidUpdate()"]
  05ab6fa8_50d0_f90a_28e1_4070930ee287 -->|method| a88f8b18_f5ab_341f_1245_efa83aceedcf

Relationship Graph

Source Code

packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js lines 1151–1158

    class Wrapper extends React.Component {
      componentWillUnmount() {
        ops.push('Wrapper');
      }
      render() {
        return <Bar name={this.props.name} />;
      }
    }

Frequently Asked Questions

What is the Wrapper class?
Wrapper is a class in the react codebase, defined in packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js.
Where is Wrapper defined?
Wrapper is defined in packages/react-reconciler/src/__tests__/ReactIncrementalSideEffects-test.js at line 1151.

Analyze Your Own Codebase

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

Try Supermodel Free