Thanks!
That's actually the neat part, SSR and SSG will now be handled completely by Next.js when you use Server Component!
Just fetch the data in the server component as you did in getStaticProps.
I also referred to this video while writing, you can watch it if you're interested: youtu.be/g0Jc5D6tiCo
Archit Badjatya
Full Stack Web and Mobile Developer
Very well explained, I am having a doubt earlier we use to have SSG for dynamic pages too, now how can we have SSG for dynamic pages.