Skip to content

Commit

Permalink
Capitalize Data Fetching title in docs (#18001)
Browse files Browse the repository at this point in the history
Noticed that most of our mentions to Data Fetching are capitalized in both words, but the page itself wasn't. And it's not consistent with the titles in other sections
  • Loading branch information
lfades committed Oct 19, 2020
1 parent fd4eb55 commit e05f3a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/api-reference/data-fetching/getInitialProps.md
Expand Up @@ -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).

Expand Down
2 changes: 1 addition & 1 deletion docs/basic-features/data-fetching.md
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion docs/manifest.json
Expand Up @@ -14,7 +14,7 @@
"path": "/docs/basic-features/pages.md"
},
{
"title": "Data fetching",
"title": "Data Fetching",
"path": "/docs/basic-features/data-fetching.md"
},
{
Expand Down

0 comments on commit e05f3a9

Please sign in to comment.