react-router-redux
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -76,5 +76,5 @@ 'use strict'; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
exports.syncHistoryWithStore = _sync2.default; | ||
exports.routerMiddleware = _middleware2.default; | ||
exports.syncHistoryWithStore = _sync2['default']; | ||
exports.routerMiddleware = _middleware2['default']; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
}); | ||
exports.default = routerMiddleware; | ||
exports['default'] = routerMiddleware; | ||
@@ -9,0 +9,0 @@ var _actions = require('./actions'); |
@@ -9,3 +9,3 @@ 'use strict'; | ||
exports.default = syncHistoryWithStore; | ||
exports['default'] = syncHistoryWithStore; | ||
@@ -43,7 +43,7 @@ var _reducer = require('./reducer'); | ||
var initialLocation = undefined; | ||
var currentLocation = undefined; | ||
var isTimeTraveling = undefined; | ||
var unsubscribeFromStore = undefined; | ||
var unsubscribeFromHistory = undefined; | ||
var initialLocation = void 0; | ||
var currentLocation = void 0; | ||
var isTimeTraveling = void 0; | ||
var unsubscribeFromStore = void 0; | ||
var unsubscribeFromHistory = void 0; | ||
@@ -50,0 +50,0 @@ // What does the store say about current location? |
{ | ||
"name": "react-router-redux", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Ruthlessly simple bindings to keep react-router and redux in sync", | ||
@@ -41,6 +41,8 @@ "main": "lib/index", | ||
"babel-cli": "^6.1.2", | ||
"babel-core": "^6.2.1", | ||
"babel-core": "^6.7.4", | ||
"babel-eslint": "^4.1.6", | ||
"babel-loader": "^6.2.0", | ||
"babel-polyfill": "^6.3.14", | ||
"babel-plugin-transform-es3-member-expression-literals": "^6.5.0", | ||
"babel-plugin-transform-es3-property-literals": "^6.5.0", | ||
"babel-polyfill": "^6.7.4", | ||
"babel-preset-es2015": "^6.3.13", | ||
@@ -47,0 +49,0 @@ "babel-preset-react": "^6.5.0", |
@@ -33,4 +33,2 @@ # react-router-redux | ||
**Note:** This example uses `react-router`'s 2.0 API. | ||
```js | ||
@@ -59,3 +57,3 @@ import React from 'react' | ||
<Provider store={store}> | ||
/* Tell the Router to use our enhanced history */ | ||
{ /* Tell the Router to use our enhanced history */ } | ||
<Router history={history}> | ||
@@ -138,2 +136,5 @@ <Route path="/" component={App}> | ||
* [svrcekmichal/universal-react](https://github.com/svrcekmichal/universal-react) - Universal react app with async actions provided by [svrcekmichal/reasync](https://github.com/svrcekmichal/reasync) package | ||
* [steveniseki/react-router-redux-example](https://github.com/StevenIseki/react-router-redux-example) - minimal react-router-redux example includes css modules and universal rendering | ||
* [choonkending/react-webpack-node](https://github.com/choonkending/react-webpack-node) - Full-stack universal Redux App | ||
* [kuy/treemap-with-router](https://github.com/kuy/treemap-with-router) - An example for react-router-redux with d3's treemap. | ||
@@ -180,1 +181,5 @@ → _Have an example to add? Send us a PR!_ ← | ||
A middleware you can apply to your Redux `store` to capture dispatched actions created by the action creators. It will redirect those actions to the provided `history` instance. | ||
#### `LOCATION_CHANGE` | ||
An action type that you can listen for in your reducers to be notified of route updates. Fires *after* any changes to history. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37199
182
38