Skip to content
Discussion options

You must be logged in to vote

I don’t think it’s possible with just the queryClient. You can either useInfiniteQuery in the second component as well, or take the function from the first component and make it available to the second one (as a prop or via context or so)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@afiiif
Comment options

Answer selected by afiiif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants