issues Search Results · repo:TanStack/query language:TypeScript
Filter by
2k results
(59 ms)2k results
inTanStack/query (press backspace or delete to remove)Describe the bug
If you prefetch data on the server and then use useQuery with isLoading on the client, it can lead to a hydration error.
Your minimal, reproducible example
https://stackblitz.com/~/github.com/Icestonks/react-query-trpc-test ...
Icestonks
- Opened yesterday
- #9399
Describe the bug
When using useQueries in React Query v5 with TypeScript, the select function’s input parameter data is inferred as
unknown, even though the return type of queryFn should be known.
This ...
has workaround
types
Junnis0123
- 3
- Opened 2 days ago
- #9396
Describe the bug
Hello, I m having the same issue as one reported here https://github.com/TanStack/query/issues/5296 But I do not use
Nuxt, and so Nuxt specific features do not help me in this case — ...
escaton
- 1
- Opened 6 days ago
- #9362
Describe the bug
If the query options include the following:
throwOnError: () = false,
retryOnMount: true,
staleTime: Infinity,
then on remount of the host component, queryFn is not called, even ...
andromansky
- Opened 12 days ago
- #9336
Describe the bug
Setting query options like gcTime or staleTime seem to get lost on the client and replaced with default values after
hydration.
Your minimal, reproducible example
https://codesandbox.io/p/github/andyabih/tmp-start-query-options/main ...
works as designed
andyabih
- 1
- Opened 12 days ago
- #9335
Describe the bug
https://github.com/TanStack/query/blob/5dd11a3c88ddd06bacc17082e5afdec56a2fe95f/packages/react-query/src/HydrationBoundary.tsx#L14
For a library with so much type safety, this is a bit ...
paperclover
- Opened 14 days ago
- #9323
Describe the bug
When refactoring parts of the queryFn used in useQuery (or queryOptions) into helper functions that involve queryClient,
exhaustive-deps will sometimes error on the queryKey thinking ...
alythobani
- Opened 14 days ago
- #9322
Describe the bug
The docs describe the PersistedClient interface as
export interface PersistedClient {
timestamp: number
buster: string
cacheState: any
}
That interface is incorrect as of the ...
documentation
Wiktor102
- 1
- Opened 16 days ago
- #9313
Right now, when using Tanstack router and Tanstack query, devtools don t really play well together.
What would be nice is a common devtools icon and a tab-based container for each Tanstack module: router, ...
Ericokim
- Opened 17 days ago
- #9309
Describe the bug
fetchNextPage doest not make a http request.
Any suggestions?
Your minimal, reproducible example
https://codesandbox.io/p/sandbox/dsm5qg
Steps to reproduce
1. Open Chrome DevTools ...
leopku
- Opened 19 days ago
- #9305

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.