rsnext/docs/basic-features
Maedah Batool f7ac942e6a
Add note about NEXT_DATA hydration (#37480)
Missing documentation around `NEXT_DATA` hydration when using `getServerSideProps()`. This PR warn users that the result of `getServerSideProps()/getStaticProps` is also available on the client-side due to React Hydration so they should not use any sensitive information in the props.



## Bug

- [x] Related issues linked using [fixes number](https://github.com/vercel/documentation/issues/418)
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)


Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com>
2022-06-06 21:46:38 +00:00
..
data-fetching Add note about NEXT_DATA hydration (#37480) 2022-06-06 21:46:38 +00:00
built-in-css-support.md scss exects semicolon (#36779) 2022-05-12 16:29:01 +00:00
environment-variables.md Clarify conditions under which process.env expressions are inlined (#33212) 2022-05-22 23:00:13 +00:00
eslint.md Add eslint rule for not allowing styled-jsx in _document.js (#32678) 2022-05-23 02:32:13 +00:00
fast-refresh.md docs: minor text-copy cleanup (#33120) 2022-01-10 10:52:47 +00:00
font-optimization.md Adds <link rel="preconnect" ... /> to example optimized font output (#36529) 2022-04-28 00:04:18 +00:00
image-optimization.md Add experimental wildcard remotePatterns config for upstream images (#36245) 2022-05-05 02:19:16 +00:00
layouts.md Improve next/dynamic docs and add links to layouts RFC. (#37244) 2022-05-29 23:48:41 +00:00
pages.md Improve next/dynamic docs and add links to layouts RFC. (#37244) 2022-05-29 23:48:41 +00:00
script.md Improve wording (#36649) 2022-05-03 21:57:29 +00:00
static-file-serving.md Update err.sh links to use nextjs.org/docs/messages instead (#23353) 2021-03-29 10:25:00 +02:00
supported-browsers-features.md Update supported-browsers-features.md (#28326) 2021-08-20 11:52:20 +00:00
typescript.md Update pnpm create next-app for latest pnpm 6 and 7 (#37254) 2022-05-27 21:21:40 +00:00