Skip to content

Commit 14dba5c

Browse files
committed
docs: Add graphql docs
1 parent 7b44a50 commit 14dba5c

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

docs/src/manifests/manifest.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@
4343
"path": "/docs/typescript",
4444
"editUrl": "/docs/typescript.md"
4545
},
46+
{
47+
"title": "GraphQL",
48+
"path": "/docs/graphql",
49+
"editUrl": "/docs/graphql.md"
50+
},
4651
{
4752
"title": "React Native",
4853
"path": "/docs/react-native",
@@ -51,7 +56,7 @@
5156
]
5257
},
5358
{
54-
"title": "Concepts",
59+
"title": "Guides & Concepts",
5560
"open": true,
5661
"routes": [
5762
{
@@ -156,6 +161,12 @@
156161
}
157162
]
158163
},
164+
{
165+
"title": "API Reference",
166+
"heading": true,
167+
"path": "/docs/api",
168+
"editUrl": "/docs/api.md"
169+
},
159170
{
160171
"title": "Examples",
161172
"open": true,
@@ -233,12 +244,6 @@
233244
]
234245
}
235246
]
236-
},
237-
{
238-
"title": "API Reference",
239-
"heading": true,
240-
"path": "/docs/api",
241-
"editUrl": "/docs/api.md"
242247
}
243248
]
244249
}

docs/src/pages/docs/graphql.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
id: graphql
3+
title: GraphQL
4+
---
5+
6+
Because React Query's fetching mechanisms are agnostically built on Promises, you can use React Query with literally any asynchronous data fetching client, including GraphQL!
7+
8+
# Examples
9+
10+
- ["Basic" example, but implemented with `graphql-request`](../examples/basic-graphql-request)

docs/src/pages/docs/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: overview
33
title: Overview
44
---
55

6-
Simply put, React Query makes **fetching, caching, synchronizing and updating server state** in your React applications a breeze.
6+
React Query is often described as the missing data-fetching library for React, but in more technical terms, it makes **fetching, caching, synchronizing and updating server state** in your React applications a breeze.
77

88
## Motivation
99

0 commit comments

Comments
 (0)