mirror of
https://github.com/sveltejs/svelte.git
synced 2024-11-28 16:12:17 +01:00
74474fe085
- run reactive statements only once per tick, even when they have indirect cyclic dependencies. Made possible by adding an array to the component context, which is filled with identifiers of the reactive statements, and which is cleared after all have run. Reactive statements rerunning before that will bail early if they detect they're still in the list - part of the solution is to run all reactive statements, and then all render effects, which also fixes #10597
6 lines
108 B
Markdown
6 lines
108 B
Markdown
---
|
|
"svelte": patch
|
|
---
|
|
|
|
fix: prevent reactive statement reruns when they have indirect cyclic dependencies
|