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
<Foo {...{ bar: 42 }}/>
generates
var foo_changes = () ? get_spread_update(foo_spread_levels, [ { bar: 42 } ]) : {};
because { bar: 42 } has no dependencies.
{ bar: 42 }
The text was updated successfully, but these errors were encountered:
svelte/src/compiler/compile/render_dom/wrappers/InlineComponent/index.ts
Line 223 in 17096e6
I'd assume we should be generating var ${name_changes} = {}; when all_dependencies is empty.
var ${name_changes} = {};
all_dependencies
Sorry, something went wrong.
generate valid code when spreading literal into props (sveltejs#3185)
22da3ae
5b77b74
Merge pull request #3380 from Conduitry/gh-3185
f26a15f
generate valid code when spreading literal into props
Successfully merging a pull request may close this issue.
generates
because
{ bar: 42 }
has no dependencies.The text was updated successfully, but these errors were encountered: