Unverified Commit b91ee110 authored by Jaga Santagostino's avatar Jaga Santagostino Committed by GitHub

add links to sections in data fetching documentation (#11666)

parent 89b69865
...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment