We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
A component with no props that could change will nevertheless get update code generated
To Reproduce
https://svelte.dev/repl/f26f7150be604723a047981635d30d0e?version=3.9.2
Expected behavior
return { c() { foo.$$.fragment.c(); }, m(target, anchor) { mount_component(foo, target, anchor); current = true; }, - p(changed, ctx) { - var foo_changes = {}; - if (changed.y) foo_changes.x = y; - foo.$set(foo_changes); - }, + noop, i(local) { if (current) return; transition_in(foo.$$.fragment, local); current = true; }, o(local) { transition_out(foo.$$.fragment, local); current = false; }, d(detaching) { destroy_component(foo, detaching); } };
Severity
Low
The text was updated successfully, but these errors were encountered:
only update attributes with dynamic dependencies - fixes #3526
84ab1b1
Merge pull request #3529 from sveltejs/gh-3526
b6905f8
only update attributes with dynamic dependencies
Successfully merging a pull request may close this issue.
Describe the bug
A component with no props that could change will nevertheless get update code generated
To Reproduce
https://svelte.dev/repl/f26f7150be604723a047981635d30d0e?version=3.9.2
Expected behavior
Severity
Low
The text was updated successfully, but these errors were encountered: