MCPcopy Index your code
hub / github.com/react/react / Inner

Class Inner

packages/react-dom/src/__tests__/ReactComponentLifeCycle-test.js:474–486  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

472 }
473
474 class Inner extends React.Component {
475 UNSAFE_componentWillMount = logger('inner componentWillMount');
476 componentDidMount = logger('inner componentDidMount');
477 UNSAFE_componentWillReceiveProps = logger(
478 'inner componentWillReceiveProps',
479 );
480 shouldComponentUpdate = logger('inner shouldComponentUpdate');
481 UNSAFE_componentWillUpdate = logger('inner componentWillUpdate');
482 componentDidUpdate = logger('inner componentDidUpdate');
483 componentWillUnmount = logger('inner componentWillUnmount');
484 render() {
485 return <span>{this.props.x}</span>;
486 }
487 }
488
489 const root = ReactDOMClient.createRoot(document.createElement('div'));

Callers

nothing calls this directly

Calls 1

loggerFunction · 0.85

Tested by

no test coverage detected