-
-
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
Excessive invalidation in ArrowFunctionExpression results in infinite loop #2748
Comments
Before I realized there was already an issue for this, I had explored a little more into what seemed to be causing this in #2873. |
It was fixed in 3.4.4 and above. |
This is not fixed. Svelte will now no longer include invalidations if the variables are not referenced anywhere else, but if you add |
It looks like this would also be fixed by #3533. |
Fixed in 3.10.1. |
Bit of strange one, but here is a repro: https://svelte.dev/repl/67a7fb3e15fb4991916b9f6947c1e82a?version=3.2.2 (Note: will likely cause an infinite loop)
Here is the input:
and here is the relevant output:
My guess is something related to mutation tracking (possibly tangentially related to #2728)
The text was updated successfully, but these errors were encountered: