React Server Components Blog

You can copy the above snippet by clicking inside it.

app/page.tsx is a server component. We don't need to add a directive since it's a server component. In the snippet above, we are looping through the blog posts.