mirror of https://github.com/sveltejs/svelte
Merge pull request #2619 from sveltejs/gh-2435
fix resubscriptions inside script blockpull/2670/head
commit
6240ed0b94
@ -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