Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/lit/lit
/ _connected
Method
_connected
packages/react/src/use-controller.ts:72–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
70
71
/* @internal */
72
_connected() {
73
this._isConnected = true;
74
this._controllers.forEach((c) => c.hostConnected?.());
75
}
76
77
/* @internal */
78
_disconnected() {
Callers
1
useController
Function · 0.95
Calls
1
hostConnected
Method · 0.65
Tested by
no test coverage detected