react-query-questions
solid-query-questions
table-questions
virtual-questions
router-questions
react-charts-questions
ranger-questions
vue-query-questions
svelte-query-questions
bling-questions
form-questions
angular-query-questions
start-questions
db-questions
start-showcase
router-showcase
📣-announcements
Pagination: placeholderData not working
placeholderData: keepPreviousData. What could be the Problem? I attach my two components here. Anyone knows, what my Problem could be?
Page (data fetching): https://just-paste.it/jSfMtm16Et,...Is this custom hook correct?
What is the correct way to subscribe to a fresh queryObserver?
setQueryData on a list with filters
Tracking mutations via mutation cache?
How does React Query reduce the complexity of tracking data dependencies at the route level
Testing react query useSuspenseQuery hook
How to add eslint-plugin-query to .eslintrc.json?
Why does updating the queryClient outside of React not affect react state?
Sharing data betweem useQuery with useInfiniteQuery (continuation tokens)
useQuery hook to component 2 which uses useInfiniteQuery
2. I have a little helper function that retrieves cached data from that useQuery hook and transforms it into initialData that useInfiniteQuery expects. This works perfectly on mount. ...ensure vs prefetch query in deferred data loading
ensureQueryData and prefetchQueryData, esepcially in the context of deferred loading.
From the tanstack router docs:
```typescript...Type narrowing for hook that has multiple queries
Query fails when using tRPC
A query that was dehydrated as pending ended up rejecting. [[["tradeList"],{"type":"query"}]]: TypeError: (0 , __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$3$2e$0_react$2d$dom$40$19$2e$1$2e$0_react$40$19$2e$1$2e$0_$5f$react$40$19$2e$1$2e$0$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$rsc$2f$react$2e$js__$5b$app$2d$rsc$5d$__$28$ecmascript$29$__.createContext) is not a function; The error will be redacted in production builds
⨯ [Error: redacted] { digest: '2062921512' }
A query that was dehydrated as pending ended up rejecting. [[["tradeList"],{"type":"query"}]]: TypeError: (0 , __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f2e$pnpm$2f$next$40$15$2e$3$2e$0_react$2d$dom$40$19$2e$1$2e$0_react$40$19$2e$1$2e$0_$5f$react$40$19$2e$1$2e$0$2f$node_modules$2f$next$2f$dist$2f$server$2f$route$2d$modules$2f$app$2d$page$2f$vendored$2f$rsc$2f$react$2e$js__$5b$app$2d$rsc$5d$__$28$ecmascript$29$__.createContext) is not a function; The error will be redacted in production builds
⨯ [Error: redacted] { digest: '2062921512' }
Query keeps getting triggered
beforeload function in my router. It's a function that fetches the user session, but I have an issue, that it seems that whenever I navigate anywhere on my app, the function gets called every time, sometimes multiple times:
```ts
beforeLoad: async ({ context }) => {
const user = await context.queryClient.fetchQuery({
queryKey: ["user"],...
Tanstack Query + ky & Error Handling
Is it okay to use useInfiniteQuery and useQueries together?
Suspense bug: Fallback not triggering
How do you guys handle data fetching during navigation? (next.js page router + getInitailProps)
How to use experimental broadcastQueryClient
Notification for slow queries and retries
react-toastify, and actually showing and hiding a toast is not an issue, but very unsure where would be the best to hook into react-query so that the notification shows and hides properly (with no duplicates if there are multiple slow/retrying queries happening at the same time)....