-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
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
Overzealous change detection #2768
Comments
I'm definitely running into this :] |
Wouldn't it be better to invalidate the property and not the object when it is statically safe to do so? That is, I was surprised |
It was fixed in 3.4.4 and above. |
Fixed in 3.10.1. |
@Conduitry sorry for the (probabably dumb) question - but how was it fixed in 3.10.1? Can you link to a PR or issue? (asking for purely intellectual purposes to learn what svelte ended up doing) |
I mentioned it in my previous comment - it was fixed via #3533. |
#2694 introduced a new bug — Svelte is now over-eager when marking values as having changed. The bug can be seen in this demo — it's not present in 3.2.0.
Workaround in the meantime appears to be to manually reorder reactive declarations.
The text was updated successfully, but these errors were encountered: