Replies: 2 comments 2 replies
-
I tried the following but it doesn't work: export function useListMultipleSourceArtifacts(ids?: string[], projectId?: string) {
const queries = ids!.map(id => {
return {
queryKey: ['useListArtifacts', id],
queryFn: async () => UseListSourceArtifacts(id, projectId)
}
})
return useQueries(queries);
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
there is no such thing as |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dear React Query Team,
I have tried to implement a multiple InfiniteQuery but I am struggling. I tried using useQueries and array mapping but didn't manage to write something well.
I need some of the infinite queries to refetch automatically if a list of ids changes. Each infinite query is associated to an id.
Any examples or advices on how to do so?
Beta Was this translation helpful? Give feedback.
All reactions