Back to Developer Roadmap

Fetching Location

src/data/roadmaps/nextjs/content/[email protected]

4.0809 B
Original Source

Fetching Location

Data fetching in Next.js allows you to render your content in different ways, depending on your application's use case. By default, layouts and pages are Server Components, which lets you fetch data and render parts of your UI on the server, optionally cache the result, and stream it to the client. When you need interactivity or browser APIs, you can use Client Components to layer in functionality.

These include pre-rendering with Server-side Rendering or Static Generation, and updating or creating content at runtime with Incremental Static Regeneration.

Visit the following resources to learn more: