Types of Pre-Rendering

Next.js has options for pre-rendering HTML pages. This lesson covers the two types of pre-rendering. By the end of it, you will be able to determine the type of pre-rendering Next.js will use to generate your HTML before you start building a page.

Static generation (recommended)

The HTML is generated at build-time and is reused for each request.

Get hands-on with 1400+ tech skills courses.