Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/facebook/react
/ safeUnmount
Function
safeUnmount
packages/react-devtools-core/src/standalone.js:96–103 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
94
}
95
96
function
safeUnmount() {
97
flushSync(() => {
98
if
(root !== null) {
99
root.unmount();
100
root = null;
101
}
102
});
103
}
104
105
function
reload() {
106
safeUnmount();
Callers
3
reload
Function · 0.85
onDisconnected
Function · 0.85
onError
Function · 0.85
Calls
1
flushSync
Function · 0.85
Tested by
no test coverage detected