redux-simple-router
Advanced tools
Changelog
history
module published within the tarball. #133Changelog
Versions 2.0.0 and 2.0.1 were test releases for the 2.* series. 2.0.2 is the first public release.
A whole new API, with many breaking changes:
syncReduxAndRouter
is gone. Instead, call syncHistory
with just the history
object, which returns a middleware that you need to apply. (#141)middleware.listenForReplays(store)
on the middleware returned from syncHistory
. Create the store first with the middleware, then call this function with the store.routeActions
. go
, goBack
, and goForward
action creators have been added.UPDATE_PATH
is now UPDATE_LOCATION
.state.routing.location.pathname
instead of state.routing.path
.Changelog
2015-12-09
This release changes quite a bit so you'll have to update your code.
Breaking Changes:
updatePath
action creator has been removed in favor of pushPath
and replacePath
. Use pushPath
to get the same behavior as before. (#38)UPDATE_PATH
action in a reducer you should get properties off the payload
property. (#63)Other fixes:
window.location
, <base href="...">
should now work (#62)Changelog
2015-12-09
This release changes quite a bit so you'll have to update your code.
Breaking Changes:
updatePath
action creator has been removed in favor of pushPath
and replacePath
. Use pushPath
to get the same behavior as before. (#38)UPDATE_PATH
action in a reducer you should get properties off the payload
property. (#63)Other fixes:
window.location
, <base href="...">
should now work (#62)