@@ -10,9 +10,9 @@ In the [Pages documentation](/docs/basic-features/pages.md), we’ve explained t
...
@@ -10,9 +10,9 @@ In the [Pages documentation](/docs/basic-features/pages.md), we’ve explained t
We’ll talk about the three special Next.js functions you can use to fetch data for pre-rendering:
We’ll talk about the three special Next.js functions you can use to fetch data for pre-rendering:
-`getStaticProps` (Static Generation): Fetch data at **build time**.
-[`getStaticProps`](#getstaticprops-static-generation)(Static Generation): Fetch data at **build time**.
-`getStaticPaths` (Static Generation): Specify [dynamic routes](/docs/routing/dynamic-routes.md) to pre-render based on data.
-[`getStaticPaths`](#getstaticpaths-static-generation)(Static Generation): Specify [dynamic routes](/docs/routing/dynamic-routes.md) to pre-render based on data.
-`getServerSideProps` (Server-side Rendering): Fetch data on **each request**.
-[`getServerSideProps`](#getserversideprops-server-side-rendering)(Server-side Rendering): Fetch data on **each request**.
In addition, we’ll talk briefly about how to do fetch data on the client side.
In addition, we’ll talk briefly about how to do fetch data on the client side.