dotansimha / dotansimha/graphql-code-generator-community

`useBackgroundQuery` and `useReadQuery` support (typescript-react-apollo)

Open
#477 6 comments 2 reactions 1 assignee Claimed by @fforres View on GitHub
Dominant language
TypeScript
Stars
137
Forks
195
Avg merge
6h 20m
Merged PRs (30d)
16

Description

**Is your feature request related to a problem? Please describe.**

Add support for `useBackgroundQuery` and `useReadQuery` [released in apollo-client 3.8](https://www.apollographql.com/blog/announcement/frontend/wait-for-it-announcing-apollo-client-3-8-with-react-suspense-integration/#%e2%8f%b2%ef%b8%8f-react-suspense-integration)

**Describe the solution you'd like**

Allow `typescript-react-apollo` to generate `useBackgroundQuery` and `useReadQuery` hooks with the current `withHooks: true` option

**Describe alternatives you've considered**

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.