Codegen for nextjs getstaticpaths #7704
-
Hi, I'm currently working on a non-profit website being statically generated (SSG) using Nextjs. For the Nextjs frontend code I would like to use Typescript and typed GraphQL classes. The codegen plugins I found all seem to use React hooks. Is there a plugin / example that can help in this scenario? I basically want to define some queries in separate *.graphql files and then generate Query and Response objects to be used in Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Continued in different discussion here: #7719 |
Beta Was this translation helpful? Give feedback.
Continued in different discussion here: #7719