Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

async-render

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

async-render - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

lib/index.js

@@ -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){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc