GraphQL Data Fetching Best Practice
Unanswered
Wrentit posted this in #help-forum
WrentitOP
Hi, is it still best to use Apollo when it comes to GraphQL and caching large sets of data for use across an app?
I'm looking to leverage codegen for type maintenance, and all the examples I can find seem to use Apollo or are pre-App router, while the Next.js documentation for data fetching best practices (https://nextjs.org/docs/app/building-your-application/data-fetching/patterns#fetching-data-where-its-needed) seems specific to using Fetch API. I'm new to Next so any advice would be awesome!
I'm looking to leverage codegen for type maintenance, and all the examples I can find seem to use Apollo or are pre-App router, while the Next.js documentation for data fetching best practices (https://nextjs.org/docs/app/building-your-application/data-fetching/patterns#fetching-data-where-its-needed) seems specific to using Fetch API. I'm new to Next so any advice would be awesome!