TanStackT
TanStack15mo ago
8 replies
ethical-tan

useQueries({ combine: ... }) vs useMemo

Is there any advantage to using combine in useQueries vs taking all the query results and passing into
useMemo
to "reduce" results down?

Seems like since we lose the nuance of each query in combine, we'd get the ~same effect with a
useMemo
Was this page helpful?