Skip to content

Commit

Permalink
Merge branch 'canary' into dep/upgrade-swc-including-crates
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Mar 8, 2022
2 parents 31d8ef2 + 4c6c490 commit 710df21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/routing/shallow-routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ componentDidUpdate(prevProps) {

## Caveats

Shallow routing **only** works for same page URL changes. For example, let's assume we have another page called `pages/about.js`, and you run this:
Shallow routing **only** works for URL changes in the current page. For example, let's assume we have another page called `pages/about.js`, and you run this:

```jsx
router.push('/?counter=10', '/about?counter=10', { shallow: true })
Expand Down

0 comments on commit 710df21

Please sign in to comment.