MCPcopy Create free account
hub / github.com/Lucifier129/react-lite / componentDidMount

Method componentDidMount

wip/ReactUpdates-wip.js:715–726  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

713 }
714
715 componentDidMount() {
716 instances.push(this);
717 if (this.props.depth < this.props.count) {
718 ReactDOM.render(
719 <MockComponent
720 depth={this.props.depth + 1}
721 count={this.props.count}
722 />,
723 ReactDOM.findDOMNode(this)
724 );
725 }
726 }
727 }
728
729 ReactTestUtils.renderIntoDocument(<MockComponent depth={0} count={2} />);

Callers

nothing calls this directly

Calls 1

renderMethod · 0.45

Tested by

no test coverage detected