Next.js14 정리(2)
·
Next.js
Next.js14 정리(1) 이어서…Parallel Requestsimport { Link } from "next/link";export const metadata = { title: "Home",};export const API_URL = "https://.../movies";async function getMovies() { const response = await fetch(API_URL); const json = await response.json(); return json;}export default async function HomePage() { const movies = await getMovies(); return ( {movies.map((movie) => (..