Skip to content

Commit b58581c

Browse files
committed
routeName or routeNameOrPath ?
Router should be injectable to be usably on client or server differently. This var name difference in docs can be interpreted as more separate methods in behavior.
1 parent 3e3ef10 commit b58581c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/Router.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Router.transitionTo('about');
2727
Router.transitionTo('/users/10?showAge=true');
2828
```
2929

30-
### `replaceWith(routeName, [params[, query]])`
30+
### `replaceWith(routeNameOrPath, [params[, query]])`
3131

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

0 commit comments

Comments
 (0)