react-router-redux
4.0/53

react-router-redux

npm i react-router-redux

22 Versions

5.0.0-alpha.9

next
5 years ago

5.0.0-alpha.8

5 years ago

5.0.0-alpha.7

5 years ago

5.0.0-alpha.6

6 years ago

5.0.0-alpha.5

6 years ago

5.0.0-alpha.4

6 years ago

5.0.0-alpha.3

6 years ago

5.0.0-alpha.2

6 years ago

5.0.0-alpha.1

6 years ago

4.0.8

latest
6 years ago

4.0.7

6 years ago
  • Support history 3 #476

4.0.6

6 years ago
  • Makes sure the state in the store matches the state in history when using SSR #445

4.0.5

6 years ago
  • Initialize currentLocation to initial location from the store. #403

4.0.4

7 years ago
  • Added a UMD build. #362

4.0.2

7 years ago
  • Calling routerReducer() with no args crashes. #350

4.0.1

7 years ago
  • Fix IE8 compatbility. #344

4.0.0

7 years ago

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!

Summary of Changes

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 provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.

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.


4.0.0-rc.2

7 years ago
  • Fix for an initial route redirect causing a blank page. (#289)

4.0.0-rc.1

7 years ago

This is a promotion of the previous release to release candidate status. Docs have been updated and there's a new server-side rendering example available. Please test this out!


4.0.0-beta.1

7 years ago

Sorry for the API churn, but we have another big release coming soon. Most of the magic is happening in #259.

Browse the source/docs for this release

Core Changes

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 provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.

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.


3.0.0

7 years ago

Technically, 2.1.0 broke semver. The appropriate @timdorr's have been flogged. So, we're bumping the major version to catch up.

Changes
  • Fixed Resets in Redux Dev Tools. 3ae8110f
  • Ensure the initialState is set properly. a00acfd4
  • Support any number of args on action creators 524898b5

2.1.0

7 years ago

Renamed to react-router-redux. Update your package.jsones appropriately!

  • listenForReplays has a selectLocationState selector. #218
  • Provide unscoped action creators. #225
  • Example updated to use fully ES2015 syntax.

22 Versions

TagPublished
5.0.0-alpha.9next5yrs ago
5.0.0-alpha.85yrs ago
5.0.0-alpha.75yrs ago
5.0.0-alpha.66yrs ago
5.0.0-alpha.56yrs ago
5.0.0-alpha.46yrs ago
5.0.0-alpha.36yrs ago
5.0.0-alpha.26yrs ago
5.0.0-alpha.16yrs ago
4.0.8latest6yrs ago
4.0.76yrs ago
4.0.66yrs ago
4.0.56yrs ago
4.0.47yrs ago
4.0.27yrs ago
4.0.17yrs ago
4.0.07yrs ago
4.0.0-rc.27yrs ago
4.0.0-rc.17yrs ago
4.0.0-beta.17yrs ago
3.0.07yrs ago
2.1.07yrs ago