Next.js Discord

Discord Forum

How to approach SSG with the new architecture?

Unanswered
Birman posted this in #help-forum
Open in Discord
BirmanOP
My team wants to start moving our app to the app folder but has a few questions. Most of our app is build using SSG — and having interactive elements hidden under a loader. When the client gets the pre-build HTML, we fetch the necessary interactive data and rerender what changed.

This is not possible using the app folder, right? I don't think I understood properly how this could work.

11 Replies

I use ISR/SSG on new app layout
I am able to use the generateStaticParams() as well
the docs didnt not make it clear, lots of trial+error
@Northeast Congo Lion I am able to use the `generateStaticParams()` as well
BirmanOP
Could you be a little more specific on this?
And UI streaming is what the app folder does, correct?
@Birman Could you be a little more specific on this?
Northeast Congo Lion
sure its a way to render dynamic pages at server side
so we pass a list of slugs/urls to nextjs
like this
BirmanOP
hmmm thanks, i'll try that!