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

Method unmount

packages/devtools-utils/src/solid/class.ts:53–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 unmount() {
54 if (!this.#isMounted && !this.#isMounting) {
55 throw new Error('Devtools is not mounted')
56 }
57
58 if (this.#isMounting) {
59 this.#abortMount = true
60 this.#isMounting = false
61 return
62 }
63
64 this.#dispose?.()
65 this.#isMounted = false
66 }
67 }
68
69 class NoOpDevtoolsCore extends DevtoolsCore {

Callers 7

PanelFunction · 0.45
mountFunction · 0.45
PanelFunction · 0.45
class.test.tsxFile · 0.45
PanelFunction · 0.45
destroyFunction · 0.45
setupFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected