Next.js Discord

Discord Forum

What is the correct to use NextJS for a dynamic page in terms of SSR or CSR?

Unanswered
Reddish carpenter ant posted this in #help-forum
Open in Discord
Reddish carpenter antOP
Hi there!

So, back in 2020 I remember Id use server side props for single view for product, and keep listing view dynamic.

That way each new product or article added, is SSR with maximum SEO wher eyou don't need to even wait for it to load.

Now, if you have a back-end comunicating with the API, and say you have 50000 articles, how are you meant to build that? One article per second, as low as that might seem, with 50k articles thats gonna take many hours to complete.

I don't even remember how I did this back in 2020.

How do you merge dynamic parts and SSR?

Say a Real Estate webapp with a blog?

If a user adds a new property, do you SSR right away and include it in the bundle? Do you fetch that dynamically? Little bit conufused

0 Replies