From 033573dbb36e3dc4b7746091a10665546ceee232 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Tue, 31 Mar 2026 11:17:47 -0400 Subject: [PATCH] no longer need whatever this nonsense was --- packages/svelte/src/internal/client/dom/blocks/each.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/svelte/src/internal/client/dom/blocks/each.js b/packages/svelte/src/internal/client/dom/blocks/each.js index b7674de588..ef67f60817 100644 --- a/packages/svelte/src/internal/client/dom/blocks/each.js +++ b/packages/svelte/src/internal/client/dom/blocks/each.js @@ -378,14 +378,6 @@ export function each(node, flags, get_collection, get_key, render_fn, fallback_f // continue in hydration mode set_hydrating(true); } - - // When we mount the each block for the first time, the collection won't be - // connected to this effect as the effect hasn't finished running yet and its deps - // won't be assigned. However, it's possible that when reconciling the each block - // that a mutation occurred and it's made the collection MAYBE_DIRTY, so reading the - // collection again can provide consistency to the reactive graph again as the deriveds - // will now be `CLEAN`. - get(each_array); }); /** @type {EachState} */