next.js 13버전 때 학습내용 정리 문서로 현재와 다름 주의 Fetching async, await in Server Component //app/page.tsx async function getData() { const res = await fetch('https://api.example.com/...'); if (!res.ok) { throw new Error('Failed to fetch data'); } return res.json(); } export default async function Page() { const data = await getData(); return ; } 타입스크립트 오류나면 임시로 /* @ts-expect-error Async Server Component */ ..