---
title: "Comment by Archit Badjatya on \"The Next.js 13 App Directory and Server Components: What You Need to Know\" | Hashnode"
description: "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."
url: "https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5/comment/6461b920624ab49e0871ebef"
---

[Discussion](https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5)

Comment [The Next.js 13 App Directory and Server Components: What You Need to Know](https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5)

[Archit Badjatya](https://hashnode.com/@Badjatya)

[May 15, 2023](https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5/comment/6461b920624ab49e0871ebef)

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.

[Hoh Shen Yien](https://hashnode.com/@ShenYien)

[May 15, 2023](https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5/comment/6461b920624ab49e0871ebef#reply-6461c095624ab49e0871ecf5)

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](https://youtu.be/g0Jc5D6tiCo?t=552)

[Archit Badjatya](https://hashnode.com/@Badjatya)

[May 15, 2023](https://hashnode.com/posts/the-nextjs-13-app-directory-and-server-components/645f9834134577ddc6d730c5/comment/6461b920624ab49e0871ebef#reply-646206bff6d6b4aa28481ac8)

Thanks [Hoh Shen Yien](https://hashnode.com/@ShenYien)
