-
-
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
class directive generates update code for unreactive dependencies #5919
Comments
I've been thinking a lot about this myself! Because of how JavaScript I think a simpler, more direct optimization would be to limit this optimization to |
As of 3.32.1, the update method is now a no-op https://svelte.dev/repl/5b14ec60637b43a184460475790105c0?version=3.32.1 |
https://svelte.dev/repl/5b14ec60637b43a184460475790105c0?version=3.31.2
Given that
<div>{o.v}</div>
does not generate update code, neither should the class directiveExpected noop at
fragment.p
The text was updated successfully, but these errors were encountered: