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
526 stars 50 forks source link

[Feature]: usePrefetchInfiniteQuery, PrefetchInfiniteQuery type test is required #1298

Open manudeli opened 2 weeks ago

manudeli commented 2 weeks ago

Package Scope

@suspensive/react-query

Description

type test is required to prove that we can use usePrefetchInfiniteQuery & PrefetchInfiniteQuery with infiniteQueryOptions & literally too

Possible Solution

No response

etc.

No response

coauthors[bot] commented 2 weeks ago

People can be co-author:

Candidate Reasons Count Add this as commit message
@manudeli https://github.com/toss/suspensive/issues/1298 1 Co-authored-by: manudeli <61593290+manudeli@users.noreply.github.com>
@gwansikk https://github.com/toss/suspensive/issues/1298#issuecomment-2419565986 1 Co-authored-by: gwansikk <39869096+gwansikk@users.noreply.github.com>
gwansikk commented 1 week ago

Could you please provide more details about this issue? Currently, there is a test case that involves usePrefetchInfiniteQuery and PrefetchInfiniteQuery being used together with infiniteQueryOptions

Are you referring to type checking for prefetched-values?