-
-
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
Keyed each block always includes transitionManager #1437
Comments
Ah, whoops! This is due to changes made between 2.4 and 2.5, I think. Definitely counts as a bug — thanks |
Looks like this was fixed (maybe on purpose? maybe by accident?) in 2.6.0. The |
However, it does look like |
Yeah, I can confirm that this was fixed in 2.6.0. |
Opening #1514 for the issue with |
So I was digging around in some generated code and I noticed
transitionManager
showing up even when no transitions are being used. After tinkering around for a while I discovered it was adding a key to an each block that was including it in the compiled code.https://svelte.technology/repl?version=2.5.0&gist=c849e83c4bd28ab7b4214611892d4249
This may be needed for cases beyond transitions and it's just the naming that's throwing me off, but at the very least there are some basic cases where it's being included unnecessarily.
I also want to acknowledge that this is prob like 1KB of code minified. So it may not be a concern at all.
The text was updated successfully, but these errors were encountered: