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
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,10 @@ Call this on the middleware returned from `syncHistory` to start the syncing pro
132
132
133
133
Supply an optional function `selectRouterState` to customize where to find the router state on your app state. It defaults to `state => state.routing`, so you would install the reducer under the name "routing". Feel free to change this to whatever you like.
134
134
135
+
#### `ReduxMiddleware.unsubscribe()`
136
+
137
+
Call this on the middleware returned from `syncHistory` to stop the syncing process set up by `syncHistoryToStore`.
138
+
135
139
#### `routeReducer`
136
140
137
141
A reducer function that keeps track of the router state. You must to add this reducer to your app reducers when creating the store.
0 commit comments