Skip to content

Commit

Permalink
docs: Fix link to Mutations page from Queries page (#4123)
Browse files Browse the repository at this point in the history
  • Loading branch information
rossng committed Sep 6, 2022
1 parent 292f021 commit 21eef3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: Queries

## Query Basics

A query is a declarative dependency on an asynchronous source of data that is tied to a **unique key**. A query can be used with any Promise based method (including GET and POST methods) to fetch data from a server. If your method modifies data on the server, we recommend using [Mutations](https://react-query.tanstack.com/docs/guides/mutations) instead.
A query is a declarative dependency on an asynchronous source of data that is tied to a **unique key**. A query can be used with any Promise based method (including GET and POST methods) to fetch data from a server. If your method modifies data on the server, we recommend using [Mutations](../guides/mutations) instead.

To subscribe to a query in your components or custom hooks, call the `useQuery` hook with at least:

Expand Down

0 comments on commit 21eef3c

Please sign in to comment.