You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this expected behaviour? There is no reason to use bind within key block like this, I accidentally used it, this leads to app being completely unresponsive and memory completely fills within minutes.
Reproduction
app.svelte:
<script>
import Comp from "./component.svelte"
let arr=Array(10).fill(0);
</script>
{#key arr}
<Comp bind:arr />
{/key}
There is no reason to use bind within key block like this
Then don't 😄
It's essentially creating some sort of infinite reactive loop, the underlying bug likely being #5689 because otherwise there is no reason for arr to be invalidated in this scenario.
Describe the bug
Is this expected behaviour? There is no reason to use bind within key block like this, I accidentally used it, this leads to app being completely unresponsive and memory completely fills within minutes.
Reproduction
app.svelte:
component.svelte:
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: