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.
This version is just 2.0.2 re-published with a more recent version of npm to fix an issue where the `history` module was being published with the tarball. See [#133](https://github.com/rackt/redux-simple-router/issues/133).
@@ -15,6 +15,8 @@ Versions 2.0.0 and 2.0.1 were test releases for the 2.* series. 2.0.2 is the fir
15
15
*`UPDATE_PATH` is now `UPDATE_LOCATION`.
16
16
* The fully parsed [location object](https://github.com/rackt/history/blob/master/docs/Location.md) is now stored in the state instead of a URL string. To access the path, use `state.routing.location.pathname` instead of `state.routing.path`.
17
17
18
+
[View the new docs](https://github.com/rackt/redux-simple-router#api)
Call this to create a middleware that can be applied with Redux's `applyMiddleware` to allow actions to call history methods. The middleware will look for route actions created by `push`, `replace`, etc. and applies them to the history.
@@ -137,7 +133,7 @@ Supply an optional function `selectRouterState` to customize where to find the r
137
133
138
134
#### `ReduxMiddleware.unsubscribe()`
139
135
140
-
Call this on the middleware returned from `syncHistory` to stop the syncing process set up by `listenForReplays`.
136
+
Call this on the middleware returned from `syncHistory` to stop the syncing process set up by `listenForReplays`.
0 commit comments