pull/16625/head
Rich Harris 3 weeks ago
parent 39f2bf0a77
commit aed8f8c7b8

@ -145,8 +145,7 @@ function create_effect(type, fn, sync, push = true) {
e.deps === null &&
e.teardown === null &&
e.nodes_start === null &&
e.first === e.last &&
(e.f & EFFECT_RAN) !== 0 &&
e.first === e.last && // either `null`, or a singular child
(e.f & EFFECT_PRESERVED) === 0
) {
e = e.first;

Loading…
Cancel
Save