From f23b9cc63b09c6bf4d0fa3773f71f1cea6596a85 Mon Sep 17 00:00:00 2001 From: Wonsuk Choi Date: Thu, 26 Feb 2026 15:56:54 +0900 Subject: [PATCH] docs(angular/guides/caching): fix typo 'date' to 'data' --- docs/framework/angular/guides/caching.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/angular/guides/caching.md b/docs/framework/angular/guides/caching.md index a47028a1bf7..6c93f875102 100644 --- a/docs/framework/angular/guides/caching.md +++ b/docs/framework/angular/guides/caching.md @@ -19,7 +19,7 @@ Let's assume we are using the default `gcTime` of **5 minutes** and the default - A new instance of `injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos }))` initializes. - Since no other queries have been made with the `['todos']` query key, this query will show a hard loading state and make a network request to fetch the data. - When the network request has completed, the returned data will be cached under the `['todos']` key. - - The date will be marked as stale after the configured `staleTime` (defaults to `0`, or immediately). + - The data will be marked as stale after the configured `staleTime` (defaults to `0`, or immediately). - A second instance of `injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos }))` initializes elsewhere. - Since the cache already has data for the `['todos']` key from the first query, that data is immediately returned from the cache. - The new instance triggers a new network request using its query function.