Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Jan 24, 2025
1 parent debc148 commit 3e9d14a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/svelte/src/internal/client/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,9 @@ function process_effects(effect, collected_effects) {
var sibling = current_effect.next;

if (!is_skippable_branch && (flags & INERT) === 0) {
// We only want to skip suspended effects if they are not branches or block effects,
// with the exception of template effects, which are technically block effects but also
// have a special flag that we used to detect them
var skip_suspended =
suspended &&
(flags & BRANCH_EFFECT) === 0 &&
Expand Down

0 comments on commit 3e9d14a

Please sign in to comment.