diff --git a/docs/react/graphql.md b/docs/react/graphql.md index 8d02dda018..1ba498b333 100644 --- a/docs/react/graphql.md +++ b/docs/react/graphql.md @@ -51,4 +51,5 @@ function App() { _You can find a [complete example in the repo](https://github.com/dotansimha/graphql-code-generator/tree/7c25c4eeb77f88677fd79da557b7b5326e3f3950/examples/front-end/react/tanstack-react-query)_ Get started with the [dedicated guide on GraphQL Code Generator documentation](https://www.the-guild.dev/graphql/codegen/docs/guides/react-vue). -[//]: # (Codegen) + +[//]: # 'Codegen' diff --git a/docs/react/overview.md b/docs/react/overview.md index a171766692..aca56443cf 100644 --- a/docs/react/overview.md +++ b/docs/react/overview.md @@ -91,11 +91,11 @@ function Example() { ``` [//]: # 'Example' +[//]: # 'Materials' ## You talked me into it, so what now? -[//]: # 'Course' - - Consider taking the official [React Query Course](https://ui.dev/react-query?from=tanstack) (or buying it for your whole team!) -[//]: # 'Course' - Learn React Query at your own pace with our amazingly thorough [Walkthrough Guide](../installation) and [API Reference](../reference/useQuery) + +[//]: # 'Materials' diff --git a/docs/react/typescript.md b/docs/react/typescript.md index 004daad70e..9cafb29041 100644 --- a/docs/react/typescript.md +++ b/docs/react/typescript.md @@ -113,8 +113,11 @@ const { error } = useQuery(['groups'], fetchGroups) [typescript playground](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgVwM4FMCKz1QJ5wC+cAZlBCHAORToCGAxjALQCOO+VAsAFCiSw4dAB7AIqUuUpURY1Nx68YeMOjgBxcsjBwAvIjjAAJgC44AO2QgARriK9eDCOdTwS6GAwAWmiNon6ABQAlGYAClLAGAA8vtoA2gC6AHx6qbLiAHQA5h6BVAD02Vpg8sGZMF7o5oG0qJAuarqpdQ0YmUZ0MHTBDjxOLvBIuORQRHooGNi4eLElSQA0cACiUKPJgfFUxX6lVIlL7p4+Jai9PAUFcNc3AHoA-LxAA) [//]: # 'Playground6' +[//]: # 'Materials' ## Further Reading For tips and tricks around type inference, have a look at [React Query and TypeScript](../community/tkdodos-blog#6-react-query-and-typescript) from the Community Resources. + +[//]: # 'Materials' diff --git a/docs/vue/guides/initial-query-data.md b/docs/vue/guides/initial-query-data.md index 1654c07b7c..de510634a7 100644 --- a/docs/vue/guides/initial-query-data.md +++ b/docs/vue/guides/initial-query-data.md @@ -3,3 +3,6 @@ id: initial-query-data title: Initial Query Data ref: docs/react/guides/initial-query-data.md --- + +[//]: # 'Materials' +[//]: # 'Materials' diff --git a/docs/vue/guides/mutations.md b/docs/vue/guides/mutations.md index 38c30e3413..7d0d5ebb34 100644 --- a/docs/vue/guides/mutations.md +++ b/docs/vue/guides/mutations.md @@ -36,7 +36,7 @@ function addTodo() { ```vue