Skip to content

Commit 89b93a1

Browse files
committed
merge
2 parents 56b0e30 + 49cba86 commit 89b93a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/internal/client/reactivity/deriveds.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
ERROR_VALUE,
66
CLEAN,
77
DERIVED,
8-
DESTROYED,
98
DIRTY,
109
EFFECT_ASYNC,
1110
EFFECT_PRESERVED,

packages/svelte/src/internal/client/reactivity/effects.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import {
3232
HEAD_EFFECT,
3333
MAYBE_DIRTY,
3434
EFFECT_PRESERVED,
35+
BOUNDARY_EFFECT,
3536
STALE_REACTION
3637
} from '#client/constants';
3738
import * as e from '../errors.js';
@@ -139,7 +140,7 @@ function create_effect(type, fn, sync, push = true) {
139140
effect.first === null &&
140141
effect.nodes_start === null &&
141142
effect.teardown === null &&
142-
(effect.f & EFFECT_PRESERVED) === 0;
143+
(effect.f & (EFFECT_PRESERVED | BOUNDARY_EFFECT)) === 0; // TODO think we can remove `| BOUNDARY_EFFECT` once the relevant PR is merged
143144

144145
if (!inert && push) {
145146
if (parent !== null) {

0 commit comments

Comments
 (0)