@solidjs/signals 0.4.2 → 0.4.3
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/dist/dev.js +1 -1
- package/dist/node.cjs +1 -1
- package/dist/prod.js +1 -1
- package/package.json +1 -1
package/dist/dev.js
CHANGED
|
@@ -892,7 +892,7 @@ var Effect = class extends Computation {
|
|
|
892
892
|
console.warn("Effects created outside a reactive context will never be disposed");
|
|
893
893
|
}
|
|
894
894
|
write(value, flags = 0) {
|
|
895
|
-
if (this._state == STATE_DIRTY
|
|
895
|
+
if (this._state == STATE_DIRTY) {
|
|
896
896
|
this._stateFlags = flags;
|
|
897
897
|
if (this._type === EFFECT_RENDER) {
|
|
898
898
|
(ActiveTransition || this._queue).notify(this, LOADING_BIT | ERROR_BIT, flags);
|
package/dist/node.cjs
CHANGED
|
@@ -887,7 +887,7 @@ var Effect = class extends Computation {
|
|
|
887
887
|
!(options == null ? void 0 : options.defer) && (this.y === EFFECT_USER ? (ActiveTransition || this.i).enqueue(this.y, this.A.bind(this)) : this.A(this.y));
|
|
888
888
|
}
|
|
889
889
|
write(value, flags = 0) {
|
|
890
|
-
if (this.b == STATE_DIRTY
|
|
890
|
+
if (this.b == STATE_DIRTY) {
|
|
891
891
|
this.f = flags;
|
|
892
892
|
if (this.y === EFFECT_RENDER) {
|
|
893
893
|
(ActiveTransition || this.i).notify(this, LOADING_BIT | ERROR_BIT, flags);
|
package/dist/prod.js
CHANGED
|
@@ -884,7 +884,7 @@ var Effect = class extends Computation {
|
|
|
884
884
|
!options?.defer && (this.y === EFFECT_USER ? (ActiveTransition || this.i).enqueue(this.y, this.A.bind(this)) : this.A(this.y));
|
|
885
885
|
}
|
|
886
886
|
write(value, flags = 0) {
|
|
887
|
-
if (this.b == STATE_DIRTY
|
|
887
|
+
if (this.b == STATE_DIRTY) {
|
|
888
888
|
this.f = flags;
|
|
889
889
|
if (this.y === EFFECT_RENDER) {
|
|
890
890
|
(ActiveTransition || this.i).notify(this, LOADING_BIT | ERROR_BIT, flags);
|