Commit 13ccf784 authored by Will Djingga's avatar Will Djingga Committed by Tim Neutkens

Fix typo in README (#1427)

`routing`not `routig`
parent fbc6c47e
...@@ -409,7 +409,7 @@ Router.onAppUpdated = (nextUrl) => { ...@@ -409,7 +409,7 @@ Router.onAppUpdated = (nextUrl) => {
</ul> </ul>
</details></p> </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: You can do this by invoking the eith `Router.push` or `Router.replace` with `shallow: true` option. Here's an example:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment