Revert "chore: avoid microtasks when flushing sync (alternative) (#15895)

* chore: avoid microtasks when flushing sync

* chore: avoid microtasks when flushing sync

* chore: avoid microtasks when flushing sync

* tweak

* WIP

* another

* more

* tweak

* fix

* fix

* belt and braces

* Revert "belt and braces"

This reverts commit f8de1cf47a.

---------

Co-authored-by: Dominic Gannaway <trueadm@users.noreply.github.com>"

This reverts commit b6164128b3.
pull/16077/head
raythurnvoid 4 months ago
parent 2342c8719a
commit c9346ab391

@ -823,8 +823,6 @@ export function flushSync(fn) {
if (fn) {
is_flushing = true;
flush_queued_root_effects();
is_flushing = true;
result = fn();
}

Loading…
Cancel
Save