Mark Erikson
Mark Erikson
Hi! I finally found some free time today to start doing some research on infinite query APIs in other libs like React Query, and am starting to wrap my brain...
Okay, I just rebased this. I _probably_ broke things somewhere in the process - the rebase was complicated due to us having drastically rearranged a lot of the internal typedefs...
Okay, I think this at least passes enough to let the CodeSandbox CI build succeed, so we should have a viable PR package preview to play with now! Off the...
Okay, spent the last couple days doing some significant work on this PR to wrap my head around it, understand what it does so far, and try out both the...
Pushed a bunch of fixes for `useInfiniteQuery`: - Has the correct `{pages, pageParams}` type for `data` - Has the correct `QueryArg` type for the argument - Also removed the need...
Jotting down some todos as I think of them: ## Functionality - [ ] Refetching - [ ] Max pages - [ ] enforce both `gN/PPP` when `maxPages` > 0...
For notification purposes: just edited the original PR description comment with an info-dump on the status of this PR and a bunch of todos. Basically: "TRY THIS OUT AND GIVE...
@jack-bliss how does that work with React Query's API today, if at all?
@TkDodo thanks! yeah, that was roughly the train of thought in my own head. At its core, neither R-Q nor RTKQ actually "know" about HTTP headers even if that is...
Awright, here's the plan. This PR has been open for a while, and it's also currently in a separate repo. While I can push to that branch, other external folks...