Merge branch 'async' into async-changeset

async-changeset
Rich Harris 7 months ago
commit 6b32e95d4b

@ -28,8 +28,8 @@ export function key_block(node, get_key, render_fn) {
/** @type {Effect} */ /** @type {Effect} */
var effect; var effect;
/** @type {Effect | null} */ /** @type {Effect} */
var pending_effect = null; var pending_effect;
/** @type {DocumentFragment | null} */ /** @type {DocumentFragment | null} */
var offscreen_fragment = null; var offscreen_fragment = null;
@ -48,10 +48,7 @@ export function key_block(node, get_key, render_fn) {
offscreen_fragment = null; offscreen_fragment = null;
} }
if (pending_effect !== null) { effect = pending_effect;
effect = pending_effect;
pending_effect = null;
}
} }
block(() => { block(() => {

Loading…
Cancel
Save