MCPcopy Create free account
hub / github.com/TanStack/devtools / mount

Function mount

packages/devtools-utils/src/angular/panel.ts:45–48  ·  view source on GitHub ↗
(instance: TCoreDevtoolsClass)

Source from the content-addressed store, hash-verified

43 let unmount: null | (() => void) = null
44
45 function mount(instance: TCoreDevtoolsClass) {
46 instance.mount(panel, inputs())
47 unmount = () => instance.unmount()
48 }
49
50 host.appendChild(panel)
51

Callers 3

createAngularPanelFunction · 0.85
renderComponentMethod · 0.85
entry-client.tsxFile · 0.85

Calls 2

mountMethod · 0.45
unmountMethod · 0.45

Tested by

no test coverage detected