mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Iterate wording in documentation (#5718)
I came across **Possible spelling mistakes** #5496 and noticed that the current wording could be improved both in terms of accuracy and succinctness.
This commit is contained in:
parent
8af767b52d
commit
19db04f302
|
@ -536,7 +536,7 @@ Router.beforePopState(({ url, as, options }) => {
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
If you return a `false` value from `beforePopState`, `Router` will not handle `popstate`;
|
If the function you pass into `beforePopState` returns `false`, `Router` will not handle `popstate`;
|
||||||
you'll be responsible for handling it, in that case.
|
you'll be responsible for handling it, in that case.
|
||||||
See [Disabling File-System Routing](#disabling-file-system-routing).
|
See [Disabling File-System Routing](#disabling-file-system-routing).
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue