Skip to content

Commit 191d658

Browse files
Kevin Donahuetimneutkens
authored andcommitted
Fix typo in Shallow Routing doc (vercel#1593)
1 parent 5fcb496 commit 191d658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Router.onAppUpdated = (nextUrl) => {
423423

424424
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.
425425

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

428428
```jsx
429429
// Current URL is "/"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy