MCPcopy
hub / github.com/tastejs/todomvc / callComponentWillUnmountWithTimer

Function callComponentWillUnmountWithTimer

examples/typescript-react/js/bundle.js:16878–16884  ·  view source on GitHub ↗
(current$$1, instance)

Source from the content-addressed store, hash-verified

16876}
16877
16878var callComponentWillUnmountWithTimer = function (current$$1, instance) {
16879 startPhaseTimer(current$$1, 'componentWillUnmount');
16880 instance.props = current$$1.memoizedProps;
16881 instance.state = current$$1.memoizedState;
16882 instance.componentWillUnmount();
16883 stopPhaseTimer();
16884};
16885
16886// Capture errors so they don't interrupt unmounting.
16887function safelyCallComponentWillUnmount(current$$1, instance) {

Callers

nothing calls this directly

Calls 2

startPhaseTimerFunction · 0.85
stopPhaseTimerFunction · 0.85

Tested by

no test coverage detected