Update packages/svelte/src/internal/client/reactivity/batch.js

Co-authored-by: vercel[bot] <35613825+vercel[bot]@users.noreply.github.com>
stale-values-async-fix
Simon H 4 days ago committed by GitHub
parent 41ede2cbfc
commit e2b27e8469
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -569,7 +569,7 @@ export class Batch {
for (const effect of this.#new_effects) {
if (
!batch.#seen_effects.has(effect) &&
(effect.f & (INERT | EAGER_EFFECT)) === 0 &&
(effect.f & (DESTROYED | INERT)) === 0 &&
depends_on(effect, current_unequal, checked)
) {
if ((effect.f & (ASYNC | BLOCK_EFFECT)) !== 0) {

Loading…
Cancel
Save