TanStackT
TanStack3y ago
3 replies
naughty-peach

Query dependencies

Is there any way to mark one query as dependency of another query? literally, I need to pass part of the data from one query into another one.
I don't think enabled: would work for me, as I need to hold suspense and resolve all of these queries during SSR phase.

I could probably combine them in the same async+query, but that means I can't reuse first query without the second one
Was this page helpful?