Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/svelte/src/internal/client/dom/blocks/boundary.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @import { Effect, TemplateNode, } from '#client' */

import { BOUNDARY_EFFECT, EFFECT_TRANSPARENT } from '../../constants.js';
import { BOUNDARY_EFFECT, EFFECT_HAS_DERIVED, EFFECT_TRANSPARENT } from '../../constants.js';
import { block, branch, destroy_effect, pause_effect } from '../../reactivity/effects.js';
import {
active_effect,
Expand Down Expand Up @@ -117,6 +117,9 @@ export function boundary(node, props, boundary_fn) {
is_creating_fallback = false;
});
});
// Since the boundary is lazy, so we need to ensure the parent
// knows that is will have children in the future
boundary.f |= EFFECT_HAS_DERIVED;
}
};

Expand Down
Loading