Skip to content

Commit 190e64a

Browse files
authored
fix: destroy each items after siblings are resumed (#17258)
* fix: destroy each items after siblings are resumed * changeset * remove unused exports * tidy up * fix: correctly reconcile each blocks after outroing branches are resumed * WIP * add some logging * fix * remove item on destroy * remove * remove * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * WIP * tests passing * tidy up * tidy up * note to self * tidy up * fix * add stress test to repo
1 parent 3a3b7e8 commit 190e64a

File tree

11 files changed

+526
-222
lines changed

11 files changed

+526
-222
lines changed

.changeset/flat-cars-say.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: correctly reconcile each blocks after outroing branches are resumed

.changeset/great-bikes-listen.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'svelte': patch
3+
---
4+
5+
fix: destroy each items after siblings are resumed

packages/svelte/src/internal/client/constants.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export const EAGER_EFFECT = 1 << 17;
4040
export const HEAD_EFFECT = 1 << 18;
4141
export const EFFECT_PRESERVED = 1 << 19;
4242
export const USER_EFFECT = 1 << 20;
43+
export const EFFECT_OFFSCREEN = 1 << 25;
4344

4445
// Flags exclusive to deriveds
4546
/**

0 commit comments

Comments
 (0)