pull/3822/head
Conduitry 6 years ago
parent 7e5578f2ea
commit dde2b21dbc

@ -175,7 +175,7 @@ export default function dom(
const injectable_vars = capturable_vars.filter(v => !v.module && v.writable && v.name[0] !== '$'); const injectable_vars = capturable_vars.filter(v => !v.module && v.writable && v.name[0] !== '$');
if (uses_props || injectable_vars.length > 0) { if (uses_props || injectable_vars.length > 0) {
inject_state = x` inject_state = x`
${$$props} => { ${$$props} => {
${uses_props && renderer.invalidate('$$props', x`$$props = @assign(@assign({}, $$props), $$new_props)`)} ${uses_props && renderer.invalidate('$$props', x`$$props = @assign(@assign({}, $$props), $$new_props)`)}

Loading…
Cancel
Save