TanStackT
TanStack3mo ago
4 replies
endless-jade

passing arguments to collection?

Is there a pattern for passing a customizable query param that can be passed on to the queryFn?

I'm thinking of just having a useMemo'd -> context collection for this, but wondering if there's a different approach already
Was this page helpful?