query
query copied to clipboard
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
- added a new export `createMutationState` that returns the currently going mutation state, or specific states if filters are provided as option. - added basic tests
### Describe the bug I am using Clerk for auth, Next.js layout.tsx, TanStack query. When user gets redirected from `/sign-in` to `/app/**`, the queries inside of layout.tsx hangs on fetching/loading...
### Describe the bug `useQuery` no longer allows `computed(() => queryOptions(...))` to be used as `options` argument due to type error. The following code throws type error. This is possibly...
### Describe the bug > [!note] > not sure if this is a bug, or me doing something i shouldn't be When I `setQueryData` for an infinite query to ```ts...
This is a based on the discussion I found in https://github.com/TanStack/query/discussions/5990. According to the author of the PR which made `enabled` a getter, they stated they didn't find a use...
This PR adds the mention of matchQuery and matchMutation to the filter guide to address #7612
This aim to fix #6954. I am not sure that the test perfectly reproduces the initial issue as I am really new to this code base but it was failing...
### Describe the bug Per article https://tkdodo.eu/blog/react-query-data-transformations#3-using-the-select-option I'm using the optional `select()` passed from outside. When typing it as described by @TkDodo here https://stackoverflow.com/a/75788655/255408 an error comes up (see repro)...
ensure enabled as getter receives query param, remove unnecessary guard following v5.48.0 changes in query-core