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
After upgrading to 5.16.1, I noticed that a derived value sometimes loses its reactivity in my project.
I couldn’t find the exact trigger though, I could find reproduction steps in a minimal code in the playground.
Reproduction steps:
Click “d” button, then current id changes to 4, and name to d.
Click “Show / Hide” button, then the content above is hidden.
Click “Show / Hide” button again, then the content is back.
Click “c” button, then current id changes to 3, and name to c.
Click “b” button, then,
Expected behavior: current id changes to 2, and name to b.
Actual behavior: current id changes to 2, but name doesn’t change.
Describe the bug
After upgrading to 5.16.1, I noticed that a derived value sometimes loses its reactivity in my project.
I couldn’t find the exact trigger though, I could find reproduction steps in a minimal code in the playground.
Reproduction steps:
Reproduction
https://svelte.dev/playground/c10266b02aab40e58b93a9545c8ac639?version=5.16.1 (Reproducible)
https://svelte.dev/playground/c10266b02aab40e58b93a9545c8ac639?version=5.16.0 (Work as expected)
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: