New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aha-app/react-easy-state

Package Overview
Dependencies
Maintainers
38
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aha-app/react-easy-state - npm Package Compare versions

Comparing version 0.0.4-development to 0.0.5-development

6

dist/cjs.es5.js

@@ -248,6 +248,6 @@ 'use strict';

if (!taskPending) {
console.log('Batching setState');
console.log("Batching setState ".concat(viewIndex));
taskPending = true;
queueMicrotask(function () {
console.log('Running setState');
console.log("Running setState ".concat(viewIndex));
var batchesToRun = batchesPending;

@@ -263,3 +263,3 @@ taskPending = false;

} else {
console.log('Already batched setState');
console.log("Already batched setState ".concat(viewIndex));
}

@@ -266,0 +266,0 @@ }

@@ -36,6 +36,6 @@ 'use strict';

if (!taskPending) {
console.log('Batching setState');
console.log(`Batching setState ${viewIndex}`);
taskPending = true;
queueMicrotask(() => {
console.log('Running setState');
console.log(`Running setState ${viewIndex}`);
const batchesToRun = batchesPending;

@@ -47,3 +47,3 @@ taskPending = false;

} else {
console.log('Already batched setState');
console.log(`Already batched setState ${viewIndex}`);
}

@@ -50,0 +50,0 @@ }

@@ -245,6 +245,6 @@ import { useState, memo, useMemo, useEffect, Component } from 'react';

if (!taskPending) {
console.log('Batching setState');
console.log("Batching setState ".concat(viewIndex));
taskPending = true;
queueMicrotask(function () {
console.log('Running setState');
console.log("Running setState ".concat(viewIndex));
var batchesToRun = batchesPending;

@@ -260,3 +260,3 @@ taskPending = false;

} else {
console.log('Already batched setState');
console.log("Already batched setState ".concat(viewIndex));
}

@@ -263,0 +263,0 @@ }

@@ -33,6 +33,6 @@ import { useState, memo, useMemo, useEffect, Component } from 'react';

if (!taskPending) {
console.log('Batching setState');
console.log(`Batching setState ${viewIndex}`);
taskPending = true;
queueMicrotask(() => {
console.log('Running setState');
console.log(`Running setState ${viewIndex}`);
const batchesToRun = batchesPending;

@@ -44,3 +44,3 @@ taskPending = false;

} else {
console.log('Already batched setState');
console.log(`Already batched setState ${viewIndex}`);
}

@@ -47,0 +47,0 @@ }

{
"name": "@aha-app/react-easy-state",
"version": "0.0.4-development",
"version": "0.0.5-development",
"description": "React state management with a minimal API. Made with ES6 Proxies.",

@@ -5,0 +5,0 @@ "main": "dist/cjs.es6.js",

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

Sorry, the diff of this file is not supported yet

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