Skip to content

Commit ef04467

Browse files
committed
chore: inline bitwise
1 parent fec2c20 commit ef04467

File tree

1 file changed

+1
-2
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,7 @@ function create_effect(type, fn, sync, push = true) {
143143
effect.first === null &&
144144
effect.nodes_start === null &&
145145
effect.teardown === null &&
146-
(effect.f & EFFECT_HAS_DERIVED) === 0 &&
147-
(effect.f & BOUNDARY_EFFECT) === 0;
146+
(effect.f & (EFFECT_HAS_DERIVED | BOUNDARY_EFFECT)) === 0;
148147

149148
if (!inert && !is_root && push) {
150149
if (parent_effect !== null) {

0 commit comments

Comments
 (0)