Merge branch 'main' into fix/bind-this-teardown

pull/18159/head
Razin Shafayet 4 days ago committed by GitHub
commit ecc624e11f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -363,6 +363,8 @@ export class Batch {
// TODO fix the underlying cause, otherwise this will likely regress when non-async mode is removed
if (async_mode_flag && !batches.has(this)) {
this.#commit();
// Rebases can activate other batches or null it out, therefore restore the new one here
current_batch = next_batch;
}
// Edge case: During traversal new branches might create effects that run immediately and set state,

Loading…
Cancel
Save