1
0
Fork 0
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:
Ben Hadfield 2017-04-26 12:24:46 +01:00 committed by Tim Neutkens
parent 58397a66c2
commit 0210540b8f

View file

@ -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