Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Commit d789e95

Browse files
committed
Update CHANGELOG.md
1 parent c7eeda2 commit d789e95

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

CHANGELOG.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
## [4.0.0](https://github.com/reactjs/react-router-redux/compare/3.0.0...4.0.0)
1+
## [4.0.2](https://github.com/reactjs/react-router-redux/compare/v4.0.1...v4.0.2)
2+
3+
- Calling routerReducer() with no args crashes. [#350](https://github.com/reactjs/react-router-redux/pull/350)
4+
5+
## [4.0.1](https://github.com/reactjs/react-router-redux/compare/v4.0.0...v4.0.1)
6+
7+
- Fix IE8 compatbility. [#344](https://github.com/reactjs/react-router-redux/pull/344)
8+
9+
## [4.0.0](https://github.com/reactjs/react-router-redux/compare/3.0.0...v4.0.0)
210

311
This is a big breaking release, but the last one for the foreseeable future. The scope of this library has changed, so please re-evaluate its usefulness to you. You may not need it and this is ok!
412

513
#### Summary of Changes
614

7-
The provided action creators and middleware are now separate from the history<->state syncing function. For the vast majority of cases, using action creators to trigger navigation is obsoleted by React Router's [new history singletons](https://github.com/rackt/react-router/blob/master/upgrade-guides/v2.0.0.md#history-singletons-provided) provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.
15+
The provided action creators and middleware are now separate from the history<->state syncing function. For the vast majority of cases, using action creators to trigger navigation is obsoleted by React Router's [new history singletons](https://github.com/reactjs/react-router/blob/master/upgrade-guides/v2.0.0.md#history-singletons-provided) provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.
816

917
We now sync by enhancing the history instance to listen for navigation events and dispatch those into the store. The enhanced history has its `listen` method overridden to respond to store changes, rather than directly to navigation events. When this history is provided to `<Router>`, the router will listen to it and receive these store changes. This means if we time travel with the store, the router will receive those store changes and update based on the location in the store, instead of what the browser says. Normal navigation events (hitting your browser back/forward buttons, telling a history singleton to `push` a location) flow through the history's listener like normal, so all the usual stuff works A-OK.
1018

0 commit comments

Comments
 (0)