You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -163,15 +163,16 @@ The `options` object takes in the following optional keys:
163
163
164
164
**You must install `routerMiddleware` for these action creators to work.**
165
165
166
-
Action creators that correspond with the [history methods of the same name](https://github.com/reactjs/history/blob/master/docs/GettingStarted.md#navigation). For reference they are defined as follows:
166
+
Action creators that correspond with the [history methods of the same name]
167
+
(https://github.com/mjackson/history/blob/master/README.md#navigation). For reference they are defined as follows:
167
168
168
169
-`push` - Pushes a new location to history, becoming the current location.
169
170
-`replace` - Replaces the current location in history.
170
171
-`go` - Moves backwards or forwards a relative number of locations in history.
171
172
-`goForward` - Moves forward one location. Equivalent to `go(1)`
172
173
-`goBack` - Moves backwards one location. Equivalent to `go(-1)`
173
174
174
-
Both `push` and `replace` take in a [location descriptor](https://github.com/reactjs/history/blob/master/docs/Glossary.md#locationdescriptor), which can be an object describing the URL or a plain string URL.
175
+
Both `push` and `replace` take in a [location descriptor](https://github.com/mjackson/history/blob/v2.x/docs/Glossary.md#locationdescriptor), which can be an object describing the URL or a plain string URL.
175
176
176
177
These action creators are also available in one single object as `routerActions`, which can be used as a convenience when using Redux's `bindActionCreators()`.
0 commit comments