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

Function onDisconnected

packages/react-devtools-core/src/standalone.js:170–176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168}
169
170function onDisconnected() {
171 safeUnmount();
172
173 node.innerHTML = nodeWaitingToConnectHTML;
174
175 disconnectedCallback();
176}
177
178function onError({code, message}: $FlowFixMe) {
179 safeUnmount();

Callers 2

connectToSocketFunction · 0.85
startServerFunction · 0.85

Calls 2

safeUnmountFunction · 0.85
disconnectedCallbackFunction · 0.85

Tested by

no test coverage detected