async-render
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -32,3 +32,3 @@ 'use strict'; | ||
state = { | ||
_this.state = { | ||
children: null | ||
@@ -46,3 +46,3 @@ }; | ||
key: 'componentDidUpdate', | ||
value: function componentDidUpdate(prevProps, prevState, snapshot) { | ||
value: function componentDidUpdate(prevProps, prevState) { | ||
var children = this.props.children; | ||
@@ -49,0 +49,0 @@ |
{ | ||
"name": "async-render", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "React Component with *requestIdleCallback*.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -10,3 +10,3 @@ /** | ||
state = { | ||
this.state = { | ||
children: null | ||
@@ -18,3 +18,3 @@ }; | ||
} | ||
componentDidUpdate(prevProps, prevState, snapshot){ | ||
componentDidUpdate(prevProps, prevState){ | ||
let { children } = this.props; | ||
@@ -21,0 +21,0 @@ if(children !== prevProps.children){ |
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
62039