toss / suspensive

Manage asynchronous operations, timing, error handling and detecting intersection of elements easily (one of TanStack Query's community resources)
https://suspensive.org
MIT License
528 stars 51 forks source link

[Feature]: usePrefetchQuery, usePrefetchInfinteQuery's optional queryClient parameter #1254

Closed manudeli closed 1 month ago

manudeli commented 1 month ago

Package Scope

@suspensive/react-query

Description

After adding optional queryClient parameter, Do this in suspensive react query

Possible Solution

No response

etc.

No response

coauthors[bot] commented 1 month ago

People can be co-author:

Candidate Reasons Count Add this as commit message
@manudeli https://github.com/toss/suspensive/issues/1254#issuecomment-2333630241 https://github.com/toss/suspensive/issues/1254#issuecomment-2334317010 https://github.com/toss/suspensive/issues/1254 3 Co-authored-by: manudeli <61593290+manudeli@users.noreply.github.com>
manudeli commented 1 month ago

https://github.com/TanStack/query/pull/8014 Done

manudeli commented 1 month ago

There is no parameter to put QueryClient in useQuery in TanStack Query v4 too..!! So I close this as no plan..