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.
## šÆ Changes Makes a Preact Adapter for Tanstack Query. The main motivations are bundle sizes and ensuring compatibility with the events architecture. ## ā Checklist - [x] I have...
## šÆ Changes ## ā Checklist - [x] I have followed the steps in the [Contributing guide](https://github.com/TanStack/query/blob/main/CONTRIBUTING.md). - [x] I have tested this code locally with `pnpm run test:pr`. ##...
### Describe the bug Iām encountering a TypeScript overload mismatch (**TS2769**) when calling `useQuery()` with the result of a `queryOptions(...)` function whose returned object contains a `queryKey` with a branded...
## šÆ Changes Implements #9135 - renames `fetchQuery` and `fetchInfiniteQuery` to `query` and `infiniteQuery` - make new `fetch*` aliases for the renamed methods - delegates the `prefetch*` methods with `query`...
I have two separate queries using `@tanstack/angular-query`: ```ts roles = injectQuery(() => ({ enabled: this.user.data(), queryKey: ['roles'], queryFn: () => lastValueFrom(getRoles({ roles: this.user.data().roles })), })); user = injectQuery(() => ({...
### Describe the bug First off, great library, thanks for your work! I'm running on Angular 21 and I'm unit testing with Vitest, I have this component: ```ts @Component({ selector:...
error (#9728) ## šÆ Changes - Modified `shouldFetchOn` in `packages/query-core/src/queryObserver.ts`: - Added a check for `query.state.status === 'error'`. - This ensures that when a component mounts or explicitly requests a...
This PR contains the following updates: | Package | Change | Age | Confidence | Type | Update | |---|---|---|---|---|---| | [@algolia/client-search](https://redirect.github.com/algolia/algoliasearch-client-javascript/tree/main/packages/client-search#readme) ([source](https://redirect.github.com/algolia/algoliasearch-client-javascript)) | [`5.2.1` -> `5.45.0`](https://renovatebot.com/diffs/npm/@algolia%2fclient-search/5.2.1/5.45.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
### Describe the bug Hey, So I found a very specific conditions, in which useQuery will cache an error thrown by queryFn, and then from there on out always return...
## šÆ Changes Svelte 5 now supports async await in components. One behavior there is that when a component is created as part of a boundary that has pending async...