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

Method constructor

packages/query-devtools/src/__tests__/VirtualList.test.tsx:21–23  ·  view source on GitHub ↗
(callback: ResizeObserverCallback)

Source from the content-addressed store, hash-verified

19 class {
20 targets = new Set<Element>()
21 constructor(callback: ResizeObserverCallback) {
22 observers.push({ callback, observer: this, targets: this.targets })
23 }
24 observe(target: Element) {
25 this.targets.add(target)
26 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected