mirror of https://github.com/sveltejs/svelte
fix: reschedule new effects in prior batches (#18021)
If a batch creates a new branch (e.g. through an if block becoming true) the previous batches so far do not know about the new effects created through that. This can lead to stale values being shown. We therefore schedule those new effects on prior batches if they are touched by a `current` value of that batch Fixes #17099 extracted from #17971pull/18025/head
parent
669f6b45a3
commit
a9d8439ad1
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: reschedule new effects in prior batches
|
||||
Loading…
Reference in new issue