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
Curious behavior in zoneless application
Query data on-demand
mutateAsync
and Promise.all
-> works but does not use caching
- Set enabled: false
on the query and use refetch()
-> works but does not use caching...When will the Angular version of Tanstack Query be stable?
Angular SSR and Tanstack Query
@tanstack/angular-query-experimental
, how hard would be to have that now moved to the server side. Is it doable at all?Unexpected behaviour with default option throwOnError: true
throwOnError: true
setting as the default in the QueryClient options. A reproduction scenario can be found here: https://github.com/JoepKockelkorn/tanstack-angular-throw-on-error-bug....Major type inference difference in templates between VS Code and WebStorm

isSuccess signal is not triggering on infiniteQuery
Should skipToken behave just like enabled?
When using an infiniteQuery on a POST request, it doesn't cache the request.
Disable refresh and first request
Angular Tanstack Query
Query/page Update following mutation
query = injectQuery(queryName(value));
results = computed(() => this.query.data());
query = injectQuery(queryName(value));
results = computed(() => this.query.data());
Wrapper around injectQuery
QueryOptions
Usage with trpc
procedure.errorShape
property that carries the information. Secondly you have procedure.query()
as the async query function.
I wonder if it is possible to implement something like injectTrpcQuery
that would have the client already and mainly provide a way to select the respective procedure. It could then infer the error and call the query function with just the query key, which would have to have the shape of the input I guess.
I'm not sure yet how this would work with paginated queries. I'll go ahead and try to write this funciton but would be very glad for pointers or input....Cache transfer with SSR
Questions about recent changes
provideAngularQuery
is renamed to provideTanStackQuery
- injectQuery
and injectMutation
no longer supply the query client as the first parameter of optionsFn
- mutationOptions
is now a thing?!? I assumed it wasn't necessary (https://github.com/TanStack/query/discussions/6096#discussioncomment-7172042)
...Tester raised: API call gets called multiple times when getting empty response
Blog post reviews requested
Review needed: a college did a PR about the typing