aa-coordination
Rich Harris 8 months ago
parent af2224ebb3
commit c270c76779

@ -169,8 +169,6 @@ export function boundary(node, props, children) {
offscreen_fragment = null; offscreen_fragment = null;
} }
// TODO this timing is wrong, effects need to ~somehow~ end up
// in the right place
for (const e of effects) { for (const e of effects) {
try { try {
if (check_dirtiness(e)) { if (check_dirtiness(e)) {
@ -217,7 +215,7 @@ export function boundary(node, props, children) {
} }
if (input === ADD_EFFECT) { if (input === ADD_EFFECT) {
render_effects.push(payload); effects.push(payload);
return; return;
} }

Loading…
Cancel
Save