Skip to content
Merged
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
7 changes: 3 additions & 4 deletions docs/api/Router.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Methods

### `transitionTo(routeNameOrPath, [params[, query]])`

Programatically transition to a new route.
Programmatically transition to a new route.

#### Examples

Expand All @@ -29,7 +29,7 @@ Router.transitionTo('/users/10?showAge=true');

### `replaceWith(routeNameOrPath, [params[, query]])`

Programatically replace current route with a new route. Does not add an
Programmatically replace current route with a new route. Does not add an
entry into the browser history.

#### Examples
Expand All @@ -42,7 +42,7 @@ Router.replaceWith('/users/10?showAge=true');

### `goBack()`

Programatically go back to the last route and remove the most recent
Programmatically go back to the last route and remove the most recent
entry from the browser history.

#### Example
Expand All @@ -63,4 +63,3 @@ need to build components similar to `Link`.
<Route name="user" path="users/:userId"/>
Router.makeHref('user', {userId: 123}); // "users/123"
```