chore: refactor local effect flushing to use new topological approach

pull/10942/head
Dominic Gannaway 2 years ago
parent a95f8d6021
commit 2c664aaa66

@ -552,7 +552,9 @@ export function schedule_effect(signal) {
*/
function collect_effects(effect, filter_flags, collected) {
var effects = effect.effects;
if (effects !== null) {
if (effects === null) {
return;
}
var i, s, child, flags;
var render = [];
var user = [];
@ -593,7 +595,6 @@ function collect_effects(effect, filter_flags, collected) {
}
}
}
}
/**
* @param {import('./types.js').Effect} effect

Loading…
Cancel
Save