Skip to content

Commit 572e2a5

Browse files
authored
docs(angular-query): fix links (#9010)
1 parent b76b0ef commit 572e2a5

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/framework/angular/guides/caching.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: caching
33
title: Caching Examples
44
---
55

6-
> Please thoroughly read the [Important Defaults](../important-defaults) before reading this guide
6+
> Please thoroughly read the [Important Defaults](./important-defaults.md) before reading this guide
77
88
## Basic Example
99

@@ -23,7 +23,7 @@ Let's assume we are using the default `gcTime` of **5 minutes** and the default
2323
- A second instance of `injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos })` initializes elsewhere.
2424
- Since the cache already has data for the `['todos']` key from the first query, that data is immediately returned from the cache.
2525
- The new instance triggers a new network request using its query function.
26-
- Note that regardless of whether both `fetchTodos` query functions are identical or not, both queries' [`status`](../../reference/injectQuery) are updated (including `isFetching`, `isPending`, and other related values) because they have the same query key.
26+
- Note that regardless of whether both `fetchTodos` query functions are identical or not, both queries' [`status`](../../reference/injectQuery.md) are updated (including `isFetching`, `isPending`, and other related values) because they have the same query key.
2727
- When the request completes successfully, the cache's data under the `['todos']` key is updated with the new data, and both instances are updated with the new data.
2828
- Both instances of the `injectQuery(() => ({ queryKey: ['todos'], queryFn: fetchTodos })` query are destroyed and no longer in use.
2929
- Since there are no more active instances of this query, a garbage collection timeout is set using `gcTime` to delete and garbage collect the query (defaults to **5 minutes**).

docs/framework/angular/guides/invalidations-from-mutations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ export class TodosComponent {
3838

3939
[//]: # 'Example2'
4040

41-
You can wire up your invalidations to happen using any of the callbacks available in the [`injectMutation` function](../mutations)
41+
You can wire up your invalidations to happen using any of the callbacks available in the [`injectMutation` function](../mutations.md)

docs/framework/angular/guides/mutation-options.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Mutation Options
55

66
One of the best ways to share mutation options between multiple places,
77
is to use the `mutationOptions` helper. At runtime, this helper just returns whatever you pass into it,
8-
but it has a lot of advantages when using it [with TypeScript](../../typescript#typing-query-options).
8+
but it has a lot of advantages when using it [with TypeScript](../../typescript#typing-query-options.md).
99
You can define all possible options for a mutation in one place,
1010
and you'll also get type inference and type safety for all of them.
1111

docs/framework/angular/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ interface Response {
110110

111111
## You talked me into it, so what now?
112112

113-
- Learn TanStack Query at your own pace with our amazingly thorough [Walkthrough Guide](../installation) and [API Reference](../reference/functions/injectquery)
113+
- Learn TanStack Query at your own pace with our amazingly thorough [Walkthrough Guide](../installation.md) and [API Reference](../reference/functions/injectquery.md)

0 commit comments

Comments
 (0)