Comparing version 2.2.0 to 2.3.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.3.0](https://github.com/zerkalica/urc/compare/v2.2.0...v2.3.0) (2018-11-26) | ||
**Note:** Version bump only for package urc | ||
# [2.2.0](https://github.com/zerkalica/urc/compare/v2.1.0...v2.2.0) (2018-11-23) | ||
@@ -8,0 +16,0 @@ |
@@ -46,4 +46,3 @@ 'use strict'; | ||
super.componentDidUpdate(prevProps, prevState, snapshot); | ||
if (prevProps !== this.props || prevState !== this.state) | ||
this.__atom.reset(); | ||
this.__atom.reset(); | ||
} | ||
@@ -60,3 +59,3 @@ componentWillUnmount() { | ||
if (this.__lastError === undefined) | ||
return this.__atom.get(); | ||
return this.__atom.render(); | ||
let data; | ||
@@ -66,3 +65,3 @@ try { | ||
throw this.__lastError; | ||
data = this.__atom.get(); | ||
data = this.__atom.render(); | ||
this.__lastData = data; | ||
@@ -69,0 +68,0 @@ } |
@@ -8,3 +8,3 @@ export interface IReactHost<ReactNode> { | ||
destructor(): void; | ||
get(): ReactNode; | ||
render(): ReactNode; | ||
} | ||
@@ -11,0 +11,0 @@ export declare type IReactAtomClass<ReactNode = any> = new (displayName: string, owner: IReactHost<ReactNode>) => IReactAtom<ReactNode>; |
{ | ||
"name": "urc", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"license": "MIT", | ||
@@ -37,3 +37,3 @@ "description": "Universal react connect decorator builder", | ||
], | ||
"gitHead": "fe87b16b62e40d45a08c19604457f77d9566ab76" | ||
"gitHead": "504b55947f0d5ca41824d94609101d35f83a14e1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
35567
287