MCPcopy
hub / github.com/TanStack/query / resizeCB

Function resizeCB

packages/query-devtools/src/Devtools.tsx:312–315  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310 createEffect(() => {
311 const win = pip().pipWindow
312 const resizeCB = () => {
313 if (!win) return
314 setPanelWidth(win.innerWidth)
315 }
316 if (win) {
317 win.addEventListener('resize', resizeCB)
318 resizeCB()

Callers 1

PiPPanelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…