docs: add Query documentation (#9079)

- Replace remote query documentation with new Query documentation
- Add redirect from old remote query to new query documentation
- Update remote query usages across docs to use new query usage.
This commit is contained in:
Shahed Nasser
2024-09-10 12:31:47 +00:00
committed by GitHub
parent 1d8dd54014
commit e9b5f76f9a
31 changed files with 437 additions and 635 deletions
@@ -17,7 +17,7 @@ export const arrowHighlights = [
```ts highlights={arrowHighlights}
// Don't
function ProductWidget () {
function ProductWidget() {
// ...
}
@@ -31,7 +31,7 @@ const ProductWidget = () => {
}
fetch(`/admin/products`, {
credentials: "include"
credentials: "include",
})
.then((res) => res.json())
.then(({ count }) => {