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

Function getProxies

packages/solid-query/src/useQueries.ts:335–338  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

333 })
334
335 const getProxies = () =>
336 state.map((s, index) => {
337 return new Proxy(s, handler(index))
338 })
339
340 const [proxyState, setProxyState] = createStore(getProxies())
341 createRenderEffect(() => setProxyState(getProxies()))

Callers 1

useQueriesFunction · 0.85

Calls 1

handlerFunction · 0.85

Tested by

no test coverage detected