rsnext/docs
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
..
advanced-features docs: fix usage in middleware errors (#37364) 2022-06-01 12:03:07 +00:00
api-reference Add note about NEXT_DATA hydration (#37480) 2022-06-06 21:46:38 +00:00
api-routes docs: Add pageExtensions usage note in API Routes (#35918) 2022-05-22 17:46:00 +00:00
basic-features Add note about NEXT_DATA hydration (#37480) 2022-06-06 21:46:38 +00:00
guides Few touch-ups to the docs on web forms in Next (#34286) 2022-02-14 20:21:27 +00:00
migrating Add instructions to create pages directory and add an index.js file to it (#35971) 2022-04-15 14:40:37 +02:00
routing Update shallow routing caveat (#35052) 2022-03-07 23:29:07 +00:00
authentication.md Alphabetize auth docs providers. (#34281) 2022-02-13 00:51:53 +00:00
deployment.md Support graceful shutdowns (#36909) 2022-05-16 14:40:39 +00:00
faq.md fix: change showcase url (#34590) 2022-02-19 22:33:32 +00:00
getting-started.md Update pnpm create next-app for latest pnpm 6 and 7 (#37254) 2022-05-27 21:21:40 +00:00
going-to-production.md [docs] Update going to production docs around caching headers (#35374) 2022-03-16 22:11:06 +00:00
manifest.json Move CI build cache instructions to Deployment docs (#35418) 2022-05-13 09:56:47 -04:00
testing.md Update testing.md (#29954) 2022-05-23 01:07:20 +00:00
upgrading.md Update upgrading.md (#36091) 2022-04-15 14:43:26 +02:00