template-marketing-webapp-nextjs
template-marketing-webapp-nextjs copied to clipboard
💬 Question - This is mainly utilising SSR, how can I turn it into SSG instead?
Firs of all amazing work on this template, I find it really nice to use the approach you guys are using with fragments and codegen!
I'm finding it challenging to use SSG instead of SSR in such template, given the fact that each ctf-component
( some of them ) has a graphql.tsx file that does the custom fetching if provided with an id on its own that means it'll always request data from contentful on page reload?
I'm wondering if we have a very complex graphql query in each page, each page then will have nested queries and will take a while until everything loads, is there a guide somewhere to use SSG with this? also, any plans to add the new app
directory?
Cheers!