From 0bb4769f34bf60df247ff1eaa47ab973d411294a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Melih=20Ar=C4=B1k?= Date: Tue, 21 Jul 2026 10:24:06 +0300 Subject: [PATCH] docs(angular-query): fix three broken examples in the guides --- docs/framework/angular/guides/disabling-queries.md | 2 +- docs/framework/angular/guides/query-functions.md | 2 +- docs/framework/angular/guides/query-retries.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/framework/angular/guides/disabling-queries.md b/docs/framework/angular/guides/disabling-queries.md index 35da0225dec..80b3c0a5237 100644 --- a/docs/framework/angular/guides/disabling-queries.md +++ b/docs/framework/angular/guides/disabling-queries.md @@ -70,7 +70,7 @@ export class TodosComponent { [//]: # 'Example3' ```angular-ts -import { skipToken, injectQuery } from '@tanstack/query-angular' +import { skipToken, injectQuery } from '@tanstack/angular-query-experimental' @Component({ selector: 'todos', diff --git a/docs/framework/angular/guides/query-functions.md b/docs/framework/angular/guides/query-functions.md index ae5f9e6c99c..bee7a3f3801 100644 --- a/docs/framework/angular/guides/query-functions.md +++ b/docs/framework/angular/guides/query-functions.md @@ -8,7 +8,7 @@ ref: docs/framework/react/guides/query-functions.md ```ts injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchAllTodos })) -injectQuery(() => ({ queryKey: ['todos', todoId], queryFn: () => fetchTodoById(todoId) }) +injectQuery(() => ({ queryKey: ['todos', todoId], queryFn: () => fetchTodoById(todoId) })) injectQuery(() => ({ queryKey: ['todos', todoId], queryFn: async () => { diff --git a/docs/framework/angular/guides/query-retries.md b/docs/framework/angular/guides/query-retries.md index 45228d10bbe..74aeef9a45f 100644 --- a/docs/framework/angular/guides/query-retries.md +++ b/docs/framework/angular/guides/query-retries.md @@ -33,7 +33,7 @@ const result = injectQuery(() => ({ import { QueryCache, QueryClient, - QueryClientProvider, + provideTanStackQuery, } from '@tanstack/angular-query-experimental' const queryClient = new QueryClient({