@infinite-table/infinite-react 7.2.5-canary.1 → 7.2.5-canary.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.dev.js +9 -5
- package/index.dev.mjs +9 -5
- package/index.js +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.dev.js
CHANGED
|
@@ -1483,13 +1483,17 @@ function AvoidReactDiffFn(props) {
|
|
|
1483
1483
|
cancelAnimationFrame(rafId.current);
|
|
1484
1484
|
}
|
|
1485
1485
|
rafId.current = requestAnimationFrame(() => {
|
|
1486
|
-
(
|
|
1487
|
-
|
|
1486
|
+
queueMicrotask(() => {
|
|
1487
|
+
(0, import_react_dom.flushSync)(() => {
|
|
1488
|
+
setChildren(children2);
|
|
1489
|
+
});
|
|
1488
1490
|
});
|
|
1489
1491
|
});
|
|
1490
1492
|
} else {
|
|
1491
|
-
(
|
|
1492
|
-
|
|
1493
|
+
queueMicrotask(() => {
|
|
1494
|
+
(0, import_react_dom.flushSync)(() => {
|
|
1495
|
+
setChildren(children2);
|
|
1496
|
+
});
|
|
1493
1497
|
});
|
|
1494
1498
|
}
|
|
1495
1499
|
}
|
|
@@ -25726,7 +25730,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
25726
25730
|
}
|
|
25727
25731
|
let valid2 = isValidLicense(licenseKey, {
|
|
25728
25732
|
publishedAt: 1624970570587,
|
|
25729
|
-
version: "7.2.5-canary.
|
|
25733
|
+
version: "7.2.5-canary.2"
|
|
25730
25734
|
});
|
|
25731
25735
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
25732
25736
|
return true;
|
package/index.dev.mjs
CHANGED
|
@@ -1416,13 +1416,17 @@ function AvoidReactDiffFn(props) {
|
|
|
1416
1416
|
cancelAnimationFrame(rafId.current);
|
|
1417
1417
|
}
|
|
1418
1418
|
rafId.current = requestAnimationFrame(() => {
|
|
1419
|
-
|
|
1420
|
-
|
|
1419
|
+
queueMicrotask(() => {
|
|
1420
|
+
flushSync(() => {
|
|
1421
|
+
setChildren(children2);
|
|
1422
|
+
});
|
|
1421
1423
|
});
|
|
1422
1424
|
});
|
|
1423
1425
|
} else {
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
+
queueMicrotask(() => {
|
|
1427
|
+
flushSync(() => {
|
|
1428
|
+
setChildren(children2);
|
|
1429
|
+
});
|
|
1426
1430
|
});
|
|
1427
1431
|
}
|
|
1428
1432
|
}
|
|
@@ -25676,7 +25680,7 @@ var useLicense = (licenseKey = "") => {
|
|
|
25676
25680
|
}
|
|
25677
25681
|
let valid2 = isValidLicense(licenseKey, {
|
|
25678
25682
|
publishedAt: 1624970570587,
|
|
25679
|
-
version: "7.2.5-canary.
|
|
25683
|
+
version: "7.2.5-canary.2"
|
|
25680
25684
|
});
|
|
25681
25685
|
if (!licenseKey && !valid2 && isInsidePlayground) {
|
|
25682
25686
|
return true;
|