From af496e5a4bcaa8aca88d3103eae6cac029d1eb9d Mon Sep 17 00:00:00 2001 From: Abhijeet Singh Date: Sun, 4 Oct 2020 23:27:07 +0530 Subject: [PATCH] Update queries.md --- docs/src/pages/guides/queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/guides/queries.md b/docs/src/pages/guides/queries.md index 2e088dda09..3d9a245c41 100644 --- a/docs/src/pages/guides/queries.md +++ b/docs/src/pages/guides/queries.md @@ -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 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. To subscribe to a query in your components or custom hooks, call the `useQuery` hook with at least: