mirror of https://github.com/sveltejs/svelte
commit
f72d1a6326
@ -1,5 +0,0 @@
|
|||||||
---
|
|
||||||
'svelte': patch
|
|
||||||
---
|
|
||||||
|
|
||||||
fix: correctly transform reassignments to class fields in SSR mode
|
|
@ -0,0 +1,5 @@
|
|||||||
|
import { test } from '../../test';
|
||||||
|
|
||||||
|
export default test({
|
||||||
|
html: `a`
|
||||||
|
});
|
@ -0,0 +1,9 @@
|
|||||||
|
<script>
|
||||||
|
let array = $state(['a', 'b', 'c'])
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{#snippet content([x])}
|
||||||
|
{x}
|
||||||
|
{/snippet}
|
||||||
|
|
||||||
|
{@render content(array)}
|
Loading…
Reference in new issue