rsnext/docs
Rich Haines f176683806
Added section about router methods returning a promise (#31341)
This PR adds a section on certain router methods returning a promise, and the error you will see if you have no-floating-promises enabled.

## Bug

- [x] Related issues linked using fixes: https://github.com/vercel/next.js/issues/31337
- [ ] 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

- [ ] Make sure the linting passes by running `yarn lint`
2021-12-19 23:07:11 +00:00
..
advanced-features Update react version to rc in react-18 doc (#32473) 2021-12-14 00:09:33 +01:00
api-reference Added section about router methods returning a promise (#31341) 2021-12-19 23:07:11 +00:00
api-routes Fix type declaration for API Routes response (#31486) 2021-11-16 17:54:53 +00:00
basic-features Document basePath redirect field for getStaticProps/getServerSideProps (#32550) 2021-12-16 09:54:40 +01:00
migrating Fix typo in documentation (#32581) 2021-12-16 18:39:14 +00:00
routing Clarify with commas (#31224) 2021-11-15 14:37:08 +00:00
authentication.md docs(auth): fix iron-session example url + API (#31413) 2021-11-15 14:49:15 +00:00
deployment.md Add note to docs about sharp memory usage on default Linux setup (#31919) 2021-12-01 20:53:04 +00:00
faq.md Update .now.sh to .vercel.app. (#22359) 2021-04-14 09:46:06 -05:00
getting-started.md Details about starting dev server Next.js docs. (#32002) 2021-12-06 22:37:02 +00:00
going-to-production.md Update Going to Production docs to use quote. (#27131) 2021-07-12 23:13:52 +00:00
manifest.json Added guide for setting up Next.js with MDX (#30869) 2021-11-22 17:27:43 +00:00
middleware.md docs(middleware): file extension consistency (#31879) 2021-11-28 15:56:31 +00:00
testing.md Add moduleDirectories for TS Jest Config (#32574) 2021-12-17 21:30:26 +00:00
upgrading.md Update upgrading.md (#31173) 2021-11-08 20:53:25 +00:00