update note to self

pull/17150/head
Rich Harris 4 days ago
parent 8f8de5030b
commit 4e45ffa613

@ -535,13 +535,13 @@ function reconcile(each_effect, array, state, anchor, flags, get_key) {
}); });
} }
// TODO i have an inkling that the rest of this function is wrong...
// the offscreen items need to be linked, so that they all update correctly.
// the last onscreen item should link to the first offscreen item, etc
each_effect.first = state.first && state.first.e; each_effect.first = state.first && state.first.e;
each_effect.last = prev && prev.e; each_effect.last = prev && prev.e;
if (prev) { if (prev) {
// TODO i think this is wrong... the offscreen items need to be linked,
// so that they all update correctly. the last onscreen item should link
// to the first offscreen item, etc
prev.e.next = null; prev.e.next = null;
} }
} }

Loading…
Cancel
Save