-
In the React Vue Guide, GraphQL Code Generator recommends using What are the reasons behind recommending |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
If you're referring to the following section: ![]() I believe it is meant to be an information block for Additionally, there's an appendix for using React Query with a custom fetcher in case you don't want to use the highly recommended one, |
Beta Was this translation helpful? Give feedback.
If you're referring to the following section:
I believe it is meant to be an information block for
@tanstack/react-query
users, meaning that if you use@tanstack/react-query
, it is recommended to use it withgraphql-request@^5.0.0
due to GraphQL Code Generator integration. Not that it is recommended to use GraphQL Code Generator with@tanstack/react-query
. Most examples default to React Apollo and GraphQL Code Generator is working well with most modern GraphQL clients and frameworks.Additionally, there's an appendix for using React Query with a custom fetcher in case you don't want to use the highly recommended one,
graphql-request@^5.0.0
.