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
Looking for work as a Frontend developer
abort async operation of prefetchQuery() on navigation
useQueries: I want to get values and state from a specific query in the array with queryKey
setQueryData doesn't trigger an update
null
i receive the callback and do a setQueryData but that doesn't re-trigger an update on react side with the note to null i have to pull to refresh.
am i missing something
...Can you please help typing this without breaking the rules of hooks?
Tanstack-query: expo application when we close/kill the app the store should be cleared?
react-query. How can I manage the isFetching state for the same query when it’s used in multiple com
refetchOnWindowFocus is not behaving as expected
staleTime to 0 but after switching tabs data is not refetched, also tried to set refetchOnWindowFocus: 'always' but again not working as expected. Is there a way that i might have dissabled it accidentaly or some other thing i have to consider before using it?Using server actions in mutations
mutationFn parameter? I didn't mange to get it to workPersist Query Client
How to handle search with tanstack query?
search, sort, category etc. What is the best way to trigger a search, which returns results? The search should be triggered by form submission.
Is this the way to go?
```ts
const [form, setForm] = useState({...Double query call using "use"
Caching prefetched data in a server component
Query without a queryFn but just manually using setQueryData?
Minimizing QueryKey Size with Dependent Queries
Streaming with server components
queryClient.prefetchQuery() method from the advanced-ssr.md guide explained here.
- I don't await the prefetch
- I use the shouldDehydrateQuery: (query) => defaultShouldDehydrateQuery(query) ||.state.status === 'pending' setup, so streaming is "enabled".
- I use useSuspenseQuery inside my component...useQueries slowing down the app (freezing for several seconds)
Using setQueryData inside a Mutation/QueryCache
setQueryData inside QueryClient ?...Offline persistent mechanism for the error state
Removed data with AsyncStoragePersister + PersistQueryClientProvider
IMPORTANT - for persist to work properly, you probably want to pass QueryClient a gcTime value to override the default during hydration (as shown above)....