rsnext/docs/api-reference
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
..
data-fetching Typo fixes on Markdown files (#31380) 2021-11-14 01:56:41 +00:00
next Added section about router methods returning a promise (#31341) 2021-12-19 23:07:11 +00:00
next.config.js docs(next-config): extend phase lines reference (#31711) 2021-11-25 10:37:18 +00:00
cli.md Enable Alex documentation linting for docs (#26598) 2021-06-25 11:40:50 -05:00
create-next-app.md Use npx create-next-app@latest instead of the version that is installed (#29595) 2021-10-04 11:13:45 +02:00
edge-runtime.md Add more docs (#30320) 2021-10-26 11:07:32 -04:00