@esportsplus/reactivity 0.11.5 → 0.11.6
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/build/system.js +4 -0
- package/package.json +1 -1
- package/src/system.ts +5 -0
package/build/system.js
CHANGED
|
@@ -340,5 +340,9 @@ signal.set = (signal, value) => {
|
|
|
340
340
|
for (let link = signal.subs; link !== null; link = link.nextSub) {
|
|
341
341
|
insertIntoHeap(link.sub);
|
|
342
342
|
}
|
|
343
|
+
if (!depth && stabilizer === STABILIZER_IDLE) {
|
|
344
|
+
stabilizer = STABILIZER_SCHEDULED;
|
|
345
|
+
scheduler(stabilize);
|
|
346
|
+
}
|
|
343
347
|
};
|
|
344
348
|
export { computed, dispose, effect, isComputed, isSignal, onCleanup, read, root, signal };
|
package/package.json
CHANGED
package/src/system.ts
CHANGED
|
@@ -475,6 +475,11 @@ signal.set = <T>(signal: Signal<T>, value: T) => {
|
|
|
475
475
|
for (let link = signal.subs; link !== null; link = link.nextSub) {
|
|
476
476
|
insertIntoHeap(link.sub);
|
|
477
477
|
}
|
|
478
|
+
|
|
479
|
+
if (!depth && stabilizer === STABILIZER_IDLE) {
|
|
480
|
+
stabilizer = STABILIZER_SCHEDULED;
|
|
481
|
+
scheduler(stabilize);
|
|
482
|
+
}
|
|
478
483
|
};
|
|
479
484
|
|
|
480
485
|
|