redux-router5
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -0,1 +1,11 @@ | ||
<a name="1.1.2"></a> | ||
## [1.1.2](https://github.com/router5/redux-router5/compare/v1.1.1...v1.1.2) (2016-01-07) | ||
### Bug Fixes | ||
* fix passing of navigate options to router ([a586942](https://github.com/router5/redux-router5/commit/a586942)) | ||
<a name="1.1.1"></a> | ||
@@ -2,0 +12,0 @@ ## [1.1.1](https://github.com/router5/redux-router5/compare/v1.1.0...v1.1.1) (2015-12-17) |
@@ -47,3 +47,3 @@ 'use strict'; | ||
if (action.type === _actionTypes2['default'].NAVIGATE_TO) { | ||
router.navigate(action.name, action.params, action.options); | ||
router.navigate(action.name, action.params, action.opts); | ||
} else if (action.type === _actionTypes2['default'].CANCEL_TRANSITION) { | ||
@@ -50,0 +50,0 @@ router.cancel(); |
@@ -49,3 +49,3 @@ (function (global, factory) { | ||
if (action.type === _actionTypes2['default'].NAVIGATE_TO) { | ||
router.navigate(action.name, action.params, action.options); | ||
router.navigate(action.name, action.params, action.opts); | ||
} else if (action.type === _actionTypes2['default'].CANCEL_TRANSITION) { | ||
@@ -52,0 +52,0 @@ router.cancel(); |
@@ -30,3 +30,3 @@ import actionTypes from './actionTypes'; | ||
if (action.type === actionTypes.NAVIGATE_TO) { | ||
router.navigate(action.name, action.params, action.options); | ||
router.navigate(action.name, action.params, action.opts); | ||
} else if (action.type === actionTypes.CANCEL_TRANSITION) { | ||
@@ -33,0 +33,0 @@ router.cancel(); |
{ | ||
"name": "redux-router5", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Router5 integration with redux", | ||
@@ -5,0 +5,0 @@ "main": "dist/commonjs", |
@@ -21,2 +21,6 @@ # redux-router5 | ||
### How it works | ||
 | ||
### With React | ||
@@ -50,5 +54,3 @@ | ||
Note: `RouterProvider` comes from `react-router5`. It simply adds your router instance in your application context | ||
which might be needed if you want to use `router.isActive()` or other instance specific methods. Instead | ||
of using `RouterProvider`, you can use `withContext()` from [recompose](https://github.com/rackt/recompose). | ||
Note: `RouterProvider` comes from `react-router5`. It simply adds your router instance in your application context, which is required. Alternatively`, you can use `withContext()` from [recompose](https://github.com/acdlite/recompose). | ||
@@ -55,0 +57,0 @@ |
35984
150