Skip to content

Commit

Permalink
Fix typo in README (vercel#1427)
Browse files Browse the repository at this point in the history
`routing`not `routig`
  • Loading branch information
alotofnoodles authored and timneutkens committed Mar 15, 2017
1 parent fbc6c47 commit 13ccf78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ Router.onAppUpdated = (nextUrl) => {
</ul>
</details></p>

Shallow routig allows you to change the URL without running `getInitialProps`. You'll receive the updated `pathname` and the `query` via the `url` prop of the same page that's loaded, without losing state.
Shallow routing allows you to change the URL without running `getInitialProps`. You'll receive the updated `pathname` and the `query` via the `url` prop of the same page that's loaded, without losing state.

You can do this by invoking the eith `Router.push` or `Router.replace` with `shallow: true` option. Here's an example:

Expand Down

0 comments on commit 13ccf78

Please sign in to comment.