From 13ccf784986107a339218b3d43a7e4ce3bdfd919 Mon Sep 17 00:00:00 2001 From: Will Djingga Date: Wed, 15 Mar 2017 23:24:34 +1100 Subject: [PATCH] Fix typo in README (#1427) `routing`not `routig` --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4c7e2886..e4c290be 100644 --- a/readme.md +++ b/readme.md @@ -409,7 +409,7 @@ Router.onAppUpdated = (nextUrl) => {

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