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
+10-5Lines changed: 10 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -145,9 +145,14 @@ An action type that you can listen for in your reducers to be notified of route
145
145
An action creator that you can use to update the current URL and update the browser history.
146
146
The LocationDescriptor parameter can be either as string with the path or a [LocationDescriptorObject](https://github.com/rackt/history/blob/v1.17.0/docs/Glossary.md#locationdescriptor) if you need more detailed control.
Action creators for manipulating history. These directory call the analogous [history methods](https://github.com/rackt/history/blob/master/docs/GettingStarted.md#navigation).
150
+
An object that contains all the actions creators you can use to manipulate history:
151
+
152
+
*`push(nextLocation: LocationDescriptor)`
153
+
*`replace(nextLocation: LocationDescriptor)`
154
+
*`go(nextLocation: LocationDescriptor)`
155
+
*`goForward(nextLocation: LocationDescriptor)`
156
+
*`goBack(nextLocation: LocationDescriptor)`
157
+
158
+
The most common action is to push a new URL via `routeActions.push(...)`. These all directly call the analogous [history methods](https://github.com/rackt/history/blob/master/docs/GettingStarted.md#navigation).
0 commit comments