mirror of https://github.com/sveltejs/svelte
fix resubscriptions inside script block (#2435)
parent
60e73c41dc
commit
0d890b1359
@ -0,0 +1,3 @@
|
|||||||
|
export default {
|
||||||
|
html: `42`,
|
||||||
|
};
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
import { writable } from 'svelte/store';
|
||||||
|
let foo = writable(0);
|
||||||
|
foo = writable(42);
|
||||||
|
</script>
|
||||||
|
|
||||||
|
{$foo}
|
Loading…
Reference in new issue