서버측에서 렌더링되는 컴포넌트로 클라이언트 컴포넌트와 분리되어 동작하게됩니다. Next.js의 컴포넌트는 기본적으로 서버 컴포넌트로 동작하며, 컴포넌트 상단에 'use client'를 적어주면, 클라이언트 컴포넌트로 동작하게됩니다.

2-1. Server Component vs Client Component

Server Component

Client Component

<br>

<img width="692" alt="serverComponent vs ClientComponent" src="https://github.com/NamJongtae/nextjs-study/assets/113427991/8d247380-8816-4b23-b56d-703f7cf58ff7">