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

Function reconcile

packages/solid-query/src/__tests__/useQuery.test.tsx:4127–4129  ·  view source on GitHub ↗
(oldData, newData)

Source from the content-addressed store, hash-verified

4125 queryFn: () => sleep(10).then(() => [1, 2]),
4126 select: (res) => res.map((x) => x + 1),
4127 reconcile(oldData, newData) {
4128 return reconcile(newData)(oldData)
4129 },
4130 }))
4131
4132 createEffect(() => {

Callers 2

reconcileFnFunction · 0.85
PageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected