Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Important
Security Advisory: React2Shell & two new vulnerabilities
Find out more

Data Fetching

Last updated April 15, 2025

Data fetching in Next.js allows you to render your content in different ways, depending on your application's use case. These include pre-rendering withServer-side Rendering orStatic Generation, and updating or creating content at runtime withIncremental Static Regeneration.

Examples

getStaticProps

Fetch data and generate static pages with `getStaticProps`. Learn more about this API for data fetching in Next.js.

getStaticPaths

Fetch data and generate static pages with `getStaticPaths`. Learn more about this API for data fetching in Next.js.

Forms and Mutations

Learn how to handle form submissions and data mutations with Next.js.

getServerSideProps

Fetch data on each request with `getServerSideProps`.

Client-side Fetching

Learn about client-side data fetching, and how to use SWR, a data fetching React Hook library that handles caching, revalidation, focus tracking, refetching on interval and more.

Was this helpful?

supported.

[8]ページ先頭

©2009-2025 Movatter.jp