Skip to content

Files

Latest commit

Apr 5, 2025
83b4d49 · Apr 5, 2025

History

History

react-query

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Apr 4, 2023
May 2, 2022
May 2, 2022
May 27, 2022
Apr 4, 2023
Mar 6, 2024
Apr 5, 2025
May 2, 2022
May 2, 2022
Jun 4, 2022

The Graph Client / React Query

This examples integrates The Graph Client with React Query.

The example here is using the following tools/concepts:

  • The Graph Client CLI for generating artifacts
  • Client-side Compostion (more than 1 source)
  • Vite-based frontend project with TypeScript
  • GraphQL Codegen for type safe SDK
  • React Query

Getting Started

To run this example, make sure to install the dependencies in the root of the monorepo, build the client locally, and then run this example:

# In the root directory
$ yarn install
$ yarn build
$ cd examples/react-query/
$ yarn build-client
$ yarn start

DevTools

You can also run The Graph Client DevTools by running: yarn graphiql.