Skip to content
This repository was archived by the owner on Nov 23, 2024. It is now read-only.

Commit ed8ec2b

Browse files
author
Anthony Campolo
authored
Docs: Fix broken links to Queries and Mutations (#234)
1 parent c769479 commit ed8ec2b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/concepts/mutations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const api = createApi({
3232
```
3333

3434
:::info
35-
Notice the `onStart`, `onSuccess`, `onError` methods? Be sure to check out how they can be used for [optimistic updates](./optimistic-updates)
35+
Notice the `onStart`, `onSuccess`, `onError` methods? Be sure to check out how they can be used for [optimistic updates](./optimistic-updates.md)
3636
:::
3737

3838
### Type interfaces

docs/concepts/queries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_title: true
77

88
# Queries
99

10-
This is the most basic feature of RTK Query. A query operation can be performed with any data fetching library of your choice, but the general recommendation is that you only use queries for requests that retrieve data. For anything that alters data on the server or will possibly invalidate the cache, you should use a [Mutation](./mutations).
10+
This is the most basic feature of RTK Query. A query operation can be performed with any data fetching library of your choice, but the general recommendation is that you only use queries for requests that retrieve data. For anything that alters data on the server or will possibly invalidate the cache, you should use a [Mutation](./mutations.md).
1111

1212
By default, RTK Query ships with [`fetchBaseQuery`](../api/fetchBaseQuery), which is a lightweight [`fetch`](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) wrapper that automatically handles request headers and response parsing in a manner similar to common libraries like `axios`.
1313

docs/examples/examples-overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ hide_title: true
77

88
# `About the examples`
99

10-
Currently, there are [several examples](https://github.com/rtk-incubator/rtk-query/tree/main/examples) that exist in the repo that you're able to run locally. These are not meant to be what you base your application on, but exist to show _very specific_ behaviors that you may not actually want or need in your application. For most users, the basic examples in the [Queries](../concepts/queries) and [Mutations](../concepts/mutations) sections will cover the majority of your needs.
10+
Currently, there are [several examples](https://github.com/rtk-incubator/rtk-query/tree/main/examples) that exist in the repo that you're able to run locally. These are not meant to be what you base your application on, but exist to show _very specific_ behaviors that you may not actually want or need in your application. For most users, the basic examples in the [Queries](../concepts/queries.md) and [Mutations](../concepts/mutations.md) sections will cover the majority of your needs.
1111

1212
As a part of the CI setup, the examples are automatically built and deployed via the magic and goodwill of CodeSandbox CI. If you're interested, you can always [see the latest builds for every PR](https://ci.codesandbox.io/status/rtk-incubator/rtk-query) at any time.
1313

0 commit comments

Comments
 (0)