MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / callComponentWillUnmountWithTimer

Function callComponentWillUnmountWithTimer

code/redux/public/app.js:11473–11479  ·  view source on GitHub ↗
(current, instance)

Source from the content-addressed store, hash-verified

11471
11472
11473 var callComponentWillUnmountWithTimer = function (current, instance) {
11474 startPhaseTimer(current, 'componentWillUnmount');
11475 instance.props = current.memoizedProps;
11476 instance.state = current.memoizedState;
11477 instance.componentWillUnmount();
11478 stopPhaseTimer();
11479 };
11480
11481 // Capture errors so they don't interrupt unmounting.
11482 function safelyCallComponentWillUnmount(current, instance) {

Callers

nothing calls this directly

Calls 3

componentWillUnmountMethod · 0.80
startPhaseTimerFunction · 0.70
stopPhaseTimerFunction · 0.70

Tested by

no test coverage detected