From a88a1bea1c312f6b105bd0765344becfc9d55590 Mon Sep 17 00:00:00 2001 From: Luis Alvarez Date: Sun, 18 Oct 2020 18:07:03 -0500 Subject: [PATCH] Updated docs --- docs/api-reference/data-fetching/getInitialProps.md | 2 +- docs/basic-features/data-fetching.md | 2 +- docs/manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api-reference/data-fetching/getInitialProps.md b/docs/api-reference/data-fetching/getInitialProps.md index cc0d690119a2708..43b7fc4f336ac1a 100644 --- a/docs/api-reference/data-fetching/getInitialProps.md +++ b/docs/api-reference/data-fetching/getInitialProps.md @@ -8,7 +8,7 @@ description: Enable Server-Side Rendering in a page and do initial data populati > > If you're using Next.js 9.3 or newer, we recommend that you use `getStaticProps` or `getServerSideProps` instead of `getInitialProps`. > -> These new data fetching methods allow you to have a granular choice between static generation and server-side rendering. Learn more on the documentation for [Pages](/docs/basic-features/pages.md) and [Data fetching](/docs/basic-features/data-fetching.md). +> These new data fetching methods allow you to have a granular choice between static generation and server-side rendering. Learn more on the documentation for [Pages](/docs/basic-features/pages.md) and [Data Fetching](/docs/basic-features/data-fetching.md). `getInitialProps` enables [server-side rendering](/docs/basic-features/pages.md#server-side-rendering) in a page and allows you to do **initial data population**, it means sending the [page](/docs/basic-features/pages.md) with the data already populated from the server. This is especially useful for [SEO](https://en.wikipedia.org/wiki/Search_engine_optimization). diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index 905385db53d731a..ceb885896ab7027 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -2,7 +2,7 @@ description: 'Next.js has 2 pre-rendering modes: Static Generation and Server-side rendering. Learn how they work here.' --- -# Data fetching +# Data Fetching > This document is for Next.js versions 9.3 and up. If you’re using older versions of Next.js, refer to our [previous documentation](https://nextjs.org/docs/tag/v9.2.2/basic-features/data-fetching). diff --git a/docs/manifest.json b/docs/manifest.json index f18da6f2cd61522..ae23677e5b35f6e 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -14,7 +14,7 @@ "path": "/docs/basic-features/pages.md" }, { - "title": "Data fetching", + "title": "Data Fetching", "path": "/docs/basic-features/data-fetching.md" }, {