I suggest Relay 🙂 https://reverecre.github.io/relay-nextjs/ but we can use any other like urql with grpahqlcodgen