mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Small grammar mistake (#3930)
"Let's assume we've another page called..." correct way to say it is "we have". Just a small correction.
This commit is contained in:
parent
fd7cb2a804
commit
23c3ef88c9
|
@ -552,7 +552,7 @@ componentWillReceiveProps(nextProps) {
|
||||||
|
|
||||||
> NOTES:
|
> NOTES:
|
||||||
>
|
>
|
||||||
> Shallow routing works **only** for same page URL changes. For an example, let's assume we've another page called `about`, and you run this:
|
> Shallow routing works **only** for same page URL changes. For an example, let's assume we have another page called `about`, and you run this:
|
||||||
> ```js
|
> ```js
|
||||||
> Router.push('/about?counter=10', '/about?counter=10', { shallow: true })
|
> Router.push('/about?counter=10', '/about?counter=10', { shallow: true })
|
||||||
> ```
|
> ```
|
||||||
|
|
Loading…
Reference in a new issue