0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
query/examples/react/basic-graphql-request
Wonsuk Choi 9aafaa9bf5
refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory (#12350)
* refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory

* refactor(examples/react/basic-graphql-request): type the posts list as only the selected 'id' and 'title' fields
History 2026-10-26 00:10:07 +09:00
..
public docs(examples): Migrate basic graphql request example to vite (#3952) 2022-08-11 17:54:21 +02:00
src refactor(examples/react): move the data layer of the single-domain examples into 'services/{domain}' with a query factory (#12350) 2026-10-26 00:10:07 +09:00
.gitignore chore(ci): filter out examples (#4239) 2022-09-28 20:53:23 +02:00
eslint.config.js chore(examples): use 'defineConfig' from 'eslint/config' and enable '@ts-check' in 'eslint.config.js' (#12008) 2026-10-14 10:01:19 +09:00
index.html docs(examples): Modernise React examples (#7704) 2024-07-10 11:52:01 +10:00
package.json ci: Version Packages (#12128) 2026-10-19 18:54:46 +02:00
README.md docs(examples): Migrate basic graphql request example to vite (#3952) 2022-08-11 17:54:21 +02:00
tsconfig.json chore(examples/react): enable 'allowJs' so typed linting covers 'eslint.config.js' (#11950) 2026-10-11 00:51:13 +09:00

Example

To run this example:

  • npm install
  • npm run dev