Skip to content

Commit

Permalink
typo fix (#9979)
Browse files Browse the repository at this point in the history
Changed `getinitialProps` on line 77 to `getInitialProps`
  • Loading branch information
Jurian authored and Timer committed Jan 7, 2020
1 parent f44f9e2 commit 5a7f9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/data-fetching/getInitialProps.md
Expand Up @@ -74,7 +74,7 @@ For the initial page load, `getInitialProps` will execute on the server only. `g
## Caveats

- `getInitialProps` can **not** be used in children components, only in the default export of every page
- If you are using server-side only modules inside `getinitialProps`, make sure to [import them properly](https://arunoda.me/blog/ssr-and-server-only-modules), otherwise it'll slow down your app
- If you are using server-side only modules inside `getInitialProps`, make sure to [import them properly](https://arunoda.me/blog/ssr-and-server-only-modules), otherwise it'll slow down your app

## Related

Expand Down

0 comments on commit 5a7f9fa

Please sign in to comment.