@aha-app/react-easy-state
Advanced tools
Comparing version 0.0.6-development to 0.0.7-development
@@ -290,3 +290,3 @@ 'use strict'; | ||
return batchSetState(viewIndex, function () { | ||
console.log(" setState function ".concat(viewIndex)); | ||
console.log(" setState function ".concat(viewIndex, " ").concat(Comp.name)); | ||
setState({}); | ||
@@ -293,0 +293,0 @@ }); |
@@ -69,3 +69,3 @@ 'use strict'; | ||
scheduler: () => batchSetState(viewIndex, () => { | ||
console.log(` setState function ${viewIndex}`); | ||
console.log(` setState function ${viewIndex} ${Comp.name}`); | ||
setState({}); | ||
@@ -72,0 +72,0 @@ }), |
@@ -287,3 +287,3 @@ import { useState, memo, useMemo, useEffect, Component } from 'react'; | ||
return batchSetState(viewIndex, function () { | ||
console.log(" setState function ".concat(viewIndex)); | ||
console.log(" setState function ".concat(viewIndex, " ").concat(Comp.name)); | ||
setState({}); | ||
@@ -290,0 +290,0 @@ }); |
@@ -66,3 +66,3 @@ import { useState, memo, useMemo, useEffect, Component } from 'react'; | ||
scheduler: () => batchSetState(viewIndex, () => { | ||
console.log(` setState function ${viewIndex}`); | ||
console.log(` setState function ${viewIndex} ${Comp.name}`); | ||
setState({}); | ||
@@ -69,0 +69,0 @@ }), |
{ | ||
"name": "@aha-app/react-easy-state", | ||
"version": "0.0.6-development", | ||
"version": "0.0.7-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
199099