flux-router-component
Advanced tools
Comparing version 0.5.5 to 0.5.6
@@ -21,3 +21,3 @@ /** | ||
propTypes: { | ||
context: React.PropTypes.object.isRequired | ||
context: React.PropTypes.object | ||
}, | ||
@@ -24,0 +24,0 @@ dispatchNavAction: function (e) { |
{ | ||
"name": "flux-router-component", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Router-related React component and mixin for applications with Flux architecture", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -37,3 +37,3 @@ # flux-router-component | ||
* Using `href` makes your code more readible, as it shows exactly how the `href` is generated. | ||
* Using `routeName` assumes `this.context` or `this.prop.context` has a `makePath()` function, which will be used to generate the `href` from the `routeName` and `navParams` props. | ||
* Using `routeName` assumes `this.context` or `this.props.context` has a `makePath()` function, which will be used to generate the `href` from the `routeName` and `navParams` props. | ||
* Using `routeName` could be more limited, especially when it comes to query string and hash fragment, if the `makePath()` function does not support query string and hash fragment. | ||
@@ -40,0 +40,0 @@ |
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
38251