Two Forms of Pre-rendering

2020-09-18

Next.js has two forms of pre-rendering: [strong] and [strong]. The difference is in [strong] it generates the HTML for a page.

  • [strong] is the pre-rendering method that generates the HTML at [strong]. The pre-rendered HTML is then [emphasis] on each request.

  • [strong] is the pre-rendering method that generates the HTML on [strong].

Importantly, Next.js lets you [strong] which pre-rendering form to use for each page. You can create a "hybrid" Next.js app by using Static Generation for most pages and using Server-side Rendering for others.