|
|
|
|
@ -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} */
|
|
|
|
|
|