preserve `$:` label in reactive blocks in SSR mode (#2828)

pull/3726/head
Conduitry 6 years ago
parent 275b2cb251
commit 2d1d855d49

@ -98,6 +98,8 @@ export default function ssr(
: b`
let ${left} = ${right}`;
}
} else { // TODO do not add label if it's not referenced
statement = b`$: { ${statement} }`;
}
return statement;

Loading…
Cancel
Save