flâneur — a map of the web's best reading

Building Your Application: Data Fetching | Next.js

nextjs.org · 2,411 words · saved by 1 readers

Learn the fundamentals of data fetching with React and Next.js.

This page is also available as Markdown at /docs/app/getting-started/fetching-data.md . For an index of Next.js documentation , see /docs/llms.txt . Copy page Fetching Data Last updated March 13, 2026 This page will walk you through how you can fetch data in Server and Client Components, and how to stream components that depend on uncached data. Fetching data Server Components You can fetch data in Server Components using any asynchronous I/O, such as: The fetch API An ORM or database With the fetch API To fetch data with the fetch API, turn your component into an asynchronous function, and aw

Explore this link on the map →

saved by

related reading