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

Function mount

packages/angular-query-devtools/src/with-devtools.ts:114–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112 })
113
114 const mount = () => {
115 const element = document.body.appendChild(
116 document.createElement('div'),
117 )
118 element.classList.add('tsqd-parent-container')
119 devtools.mount(element)
120
121 return () => {
122 devtools.unmount()
123 element.remove()
124 }
125 }
126
127 afterRenderEffect({
128 write: (onCleanup) => {

Callers 14

entry-client.tsxFile · 0.50
main.tsFile · 0.50
entry-client.tsxFile · 0.50
entry-client.tsxFile · 0.50
entry-client.tsxFile · 0.50
entry-client.tsxFile · 0.50
entry-client.tsxFile · 0.50
main.tsFile · 0.50
main.tsFile · 0.50
main.tsFile · 0.50
main.tsFile · 0.50
main.tsFile · 0.50

Calls 4

addMethod · 0.45
mountMethod · 0.45
unmountMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected