From 1c701cfb0a50e9560f781b91b9086d4cb495ed13 Mon Sep 17 00:00:00 2001 From: Abhijeet Singh Date: Sun, 4 Oct 2020 22:18:28 +0530 Subject: [PATCH] docs: Elaborate on usage of queries --- docs/src/pages/docs/guides/queries.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/pages/docs/guides/queries.md b/docs/src/pages/docs/guides/queries.md index 2a5a773716..1eea2c2562 100644 --- a/docs/src/pages/docs/guides/queries.md +++ b/docs/src/pages/docs/guides/queries.md @@ -5,7 +5,7 @@ title: Queries ## Query Basics -In React Query, a query is a declarative dependency on some asynchronous source of data. +In React Query, a query is a declarative dependency on some asynchronous source of data. 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 make a new query, call the `useQuery` hook with at least: