mirror of https://github.com/sveltejs/svelte
fix: in non-async mode, only push variable to current_sources when active_reaction is updating (#18550)
fix: #16814 in non-async mode, when the derived inside `SvelteDate` is created and evaluated, the `#reaction` is from the `active_reaction` when the `SvelteDate` instance is created, which could possible in NON_UPDATING state, so the derived should not be added to `current_sources` to prevent re-run. --------- Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com> Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com>pull/17600/merge
parent
6f7857af59
commit
9e69544238
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: in non-async mode, only push variable to current_sources when active_reaction is updating
|
||||||
Loading…
Reference in new issue