MCPcopy Index your code
hub / github.com/TanStack/devtools / unmount

Method unmount

packages/devtools/src/core.ts:94–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 unmount() {
95 if (this.#state === 'unmounted') {
96 throw new Error('Devtools is not mounted')
97 }
98 this.#mountAbortController?.abort()
99 this.#eventBus?.stop()
100 this.#dispose?.()
101 this.#state = 'unmounted'
102 }
103
104 setConfig(config: Partial<TanStackDevtoolsInit>) {
105 this.#config = {

Callers 5

TanStackDevtoolsFunction · 0.45
TanStackDevtoolsFunction · 0.45
SolidDevtoolsCoreFunction · 0.45
constructorMethod · 0.45
destroyMethod · 0.45

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected