Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Learn how to use different data fetching strategies to avoid switching from static pre-rendering.

Astro landing page starter with gradient background, responsive hamburger/dropdown menu, and switchable floating/fullscreen headers.
Combining data fetching strategies is a Next.js example from the official vercel/examples repository that shows how an application can use multiple data fetching approaches together while preserving the benefits of static pre-rendering.
This is a runnable example project built with Next.js that demonstrates how to mix different data fetching strategies—such as static generation, server-side rendering, and client-side fetching—in one app without being forced to abandon static pre-rendering. The source code is provided by Vercel's curated examples repository, and the project can be deployed to Vercel with one click or run locally via create-next-app and pnpm.
pnpm create next-app --example with the repository URL, then start development with pnpm dev.You can start in two ways: click the "Deploy with Vercel" button to create a new project directly in the cloud, or clone the repository using create-next-app with pnpm, run pnpm dev for local development, and push to Vercel when you're ready.
