@cerebral/inferno
Advanced tools
Comparing version 4.0.0-1525724201307 to 4.0.0-1526222433248
@@ -54,5 +54,8 @@ 'use strict'; | ||
_createClass(BaseComponent, [{ | ||
key: 'componentDidMount', | ||
value: function componentDidMount() { | ||
key: 'componentWillMount', | ||
value: function componentWillMount() { | ||
this.view.mount(); | ||
if (this.view.dynamicDependencies.length) { | ||
this.view.update(this.props); | ||
} | ||
} | ||
@@ -89,2 +92,13 @@ /* | ||
/* | ||
We have to update any usage of "get" when the component updates | ||
*/ | ||
}, { | ||
key: 'componentDidUpdate', | ||
value: function componentDidUpdate() { | ||
if (this.view.dynamicDependencies.length) { | ||
this.view.update(this.props); | ||
} | ||
} | ||
/* | ||
Unregister with existing state dependencies | ||
@@ -91,0 +105,0 @@ */ |
{ | ||
"name": "@cerebral/inferno", | ||
"version": "4.0.0-1525724201307", | ||
"version": "4.0.0-1526222433248", | ||
"description": "Inferno view for Cerebral", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cerebral": "^5.0.0-1525724201307" | ||
"cerebral": "^5.0.0-1526222433248" | ||
}, | ||
@@ -20,0 +20,0 @@ "scripts": { |
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
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
21023
266