react-observable-mixin
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -73,3 +73,3 @@ 'use strict'; | ||
observablesSubscribeOnNext: function observablesSubscribeOnNext(state) { | ||
if (!this.observablesSubscription) return; | ||
if (this.observablesSubscription && this.observablesSubscription.isStopped) return; | ||
@@ -89,4 +89,2 @@ if (this.componentWillReceiveStateFromObservables) this.componentWillReceiveStateFromObservables(state); | ||
observablesSubscribeOnError: function observablesSubscribeOnError(error) { | ||
if (!this.observablesSubscription) return; | ||
if (this.componentWillReceiveErrorFromObservables) this.componentWillReceiveErrorFromObservables(error); | ||
@@ -124,8 +122,5 @@ }, | ||
unsubscribeFromObservables: function unsubscribeFromObservables() { | ||
if (this.observablesSubscription) { | ||
this.observablesSubscription.dispose(); | ||
this.observablesSubscription = null; | ||
} | ||
if (this.observablesSubscription) this.observablesSubscription.dispose(); | ||
} | ||
}; | ||
module.exports = exports['default']; |
{ | ||
"name": "react-observable-mixin", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Container like observable mixin for ReactJS.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
1213535
19
29352
1