Next.js에서 use server를 사용하는 이유
https://nextjs.org/docs/app/api-reference/directives/use-clientServer Component정적인 콘텐츠, data fatchiing, SEO 등등Client ComponentAPI 를 사용하는 Component해당 부분에서 Client Component가 use server를 이용해야 상태관리, 이벤트 처리, API 액세스 등의 UI를 만들 수 있다. 해당 부분은 react의 서버 컴포넌트 쪽과 관련이 있다또한 Next에서는 Server Component와 Client Component를 구분하는 것을 지향하고 있다.