mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fixed typo in README (#1784)
In Shallow Routing, the line `Since that's a new page, it'll unload the current page, load the new one and call `getInitialProps` even we asked to do shallow routing.` is missing the word `though`.
This commit is contained in:
parent
58397a66c2
commit
0210540b8f
|
@ -454,7 +454,7 @@ componentWillReceiveProps(nextProps) {
|
|||
> ```js
|
||||
> Router.push('/about?counter=10', '/about?counter=10', { shallow: true })
|
||||
> ```
|
||||
> Since that's a new page, it'll unload the current page, load the new one and call `getInitialProps` even we asked to do shallow routing.
|
||||
> Since that's a new page, it'll unload the current page, load the new one and call `getInitialProps` even though we asked to do shallow routing.
|
||||
|
||||
### Prefetching Pages
|
||||
|
||||
|
|
Loading…
Reference in a new issue