Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/essentials/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ When specifying `params`, make sure to either provide a `string` or `number` (or

Since the prop `to` accepts the same kind of object as `router.push`, the exact same rules apply to both of them.

`router.push` and all the other navigation methods return a _Promise_ that allows us to wait til the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md).
`router.push` and all the other navigation methods return a _Promise_ that allows us to wait till the navigation is finished and to know if it succeeded or failed. We will talk more about that in [Navigation Handling](../advanced/navigation-failures.md).

## Replace current location

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/essentials/route-matching-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const router = createRouter({
{ path: '/users/:id', sensitive: true },
// will match /users, /Users, and /users/42 but not /users/ or /users/42/
{ path: '/users/:id?' },
]
],
strict: true, // applies to all routes
})
```
Expand Down