Before we talk about data fetching, let’s talk about one of the most important concepts in Next.js: Pre-rendering.
You can check that pre-rendering is happening by taking the following steps:
Note: You can also try the above steps on
Here’s a quick graphical summary:
Next, let’s talk about two forms of pre-rendering in Next.js.