dotansimha / dotansimha/graphql-code-generator
Add example with Next.JS app router with RSC
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 1.4k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 23
Description
### Is your feature request related to a problem? Please describe.
It could be difficult to find the correct tools for setting up graphql with codegen and typesafety on NextJS app router in way that supports both React Server Components and Client components.
tRPC solves the issue of end-to-end typesafe APIs but then you are limited in project languages with that.
### Describe the solution you'd like
As suggested by support team via email, I am creating a PR with an example demonstrating usage of graphql queries in both server and client components using NextJS 13 + Apollo.
I have also added an example with Suspense.
### Describe alternatives you've considered
_No response_
### Is your feature request related to a problem? Please describe.
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.