We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This bug appears only in the REPL. It works locally.
<script> let objArray = $state([{a: 1, b:2}, {a: 3, b:4}]); </script> <button onclick={() => {objArray = [{a: 8, b:2}, {a: 12, b:4}]}}> change </button> {#each objArray as c} <p>{c.a} - {c.b}</p> <input bind:value={c.a}/> {/each}
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACk3OwWrDMBAE0F9Ztj0k4MYk7aGosiHfEecgy5tGqSIJaxUIQv9e5BaS4wzDYzKejKWI4pDRqSuhwH0I2CDfQw3xRpYJG4w-zbo2MurZBO4HN7AlBj9e9vOs7tDBa2TFtDpkJWDbwCh2pYEa3mv4KMf11-Bk-wCcHBOzd-Cdtkb_dHm1hq6H_IQu2ueztt39c6UsL_RZuW-q8p_WDy6_kNLnxzcVQZe6laHPeqMKvEHWm7HINiyGNC4khtG4SdyUTdQts7ZabbUKNnj1kzkZmlDwnKgcyy8nbhi7PgEAAA==
No response
Svelte v5.0.0-next.27
annoyance
The text was updated successfully, but these errors were encountered:
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACoXQ0W6DIBQG4Fc5YbvQxNXW7WJhaNLnqLtAPK1sFokcmjSEd5-4JfVuV-Qn8PEfAjvrER3jp8CMvCLj7GgtKxjdbQruhiPhkt3kZ5V2hFOzttS0pqURCabu6zjP8g41PDuShNkpSA6HAjpexQJSeE3hLX7mH60R5QMwovNEk4HJqFGr7zpkOdQNhA26au9b7VD9cTGuLdQgzQWT_Ks1_7s7692QrdX2-6RBVcV88WTfb5jwhFINjxGlAxXTk8I2Qe1khBdY1i6K0q5VhDbWE3Ta9PwmR4_1eqxMVpmsdNss33mden3W2DNOs8dllB8JCAKLiQEAAA==
I added a button that adds a new object on click. This object will be reactive. The others stay unreactive.
Sorry, something went wrong.
Here is a simple reproduction.
This regression happened due to #10053, (the state gets updated, but the <p> effect doesn't). It happens only when doing:
<p>
<p>{x.a} - {x.b}</p>
but not when doing:
<p>{x.a}</p>
After debugging, it seems related to consumers in the signal being removed incorrectly.
trueadm
Successfully merging a pull request may close this issue.
Describe the bug
This bug appears only in the REPL. It works locally.
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAACk3OwWrDMBAE0F9Ztj0k4MYk7aGosiHfEecgy5tGqSIJaxUIQv9e5BaS4wzDYzKejKWI4pDRqSuhwH0I2CDfQw3xRpYJG4w-zbo2MurZBO4HN7AlBj9e9vOs7tDBa2TFtDpkJWDbwCh2pYEa3mv4KMf11-Bk-wCcHBOzd-Cdtkb_dHm1hq6H_IQu2ueztt39c6UsL_RZuW-q8p_WDy6_kNLnxzcVQZe6laHPeqMKvEHWm7HINiyGNC4khtG4SdyUTdQts7ZabbUKNnj1kzkZmlDwnKgcyy8nbhi7PgEAAA==
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: