MCPcopy
hub / github.com/facebook/react / componentWillUnmount

Method componentWillUnmount

packages/react-art/src/ReactART.js:115–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113 }
114
115 componentWillUnmount() {
116 // We synchronously flush updates coming from above so that they commit together
117 // and so that refs resolve before the parent life cycles.
118 updateContainerSync(null, this._mountNode, this);
119 flushSyncWork();
120 }
121
122 render() {
123 // This is going to be a placeholder because we don't know what it will

Callers

nothing calls this directly

Calls 2

updateContainerSyncFunction · 0.90
flushSyncWorkFunction · 0.50

Tested by

no test coverage detected