1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix readme (#5513)

* Fix readme

* Fix spelling mistake

Co-Authored-By: dipiash <dmitriytemn@gmail.com>
This commit is contained in:
Dmitriy 2018-10-27 01:42:23 +05:00 committed by Tim Neutkens
parent 1770efad63
commit e382be655c

View file

@ -535,7 +535,7 @@ Router.beforePopState(({ url, as, options }) => {
});
```
If you return a falsy value from `beforePopState`, `Router` will not handle `popstate`;
If you return a `false` value from `beforePopState`, `Router` will not handle `popstate`;
you'll be responsible for handling it, in that case.
See [Disabling File-System Routing](#disabling-file-system-routing).