mirror of https://github.com/sveltejs/svelte
wait until flush complete before unlocking bindings - fixes #2356
parent
b03cfcf09d
commit
5535110066
@ -1,3 +1,4 @@
|
||||
<script>
|
||||
export let value = 'x';
|
||||
export let i, j;
|
||||
export let value = `${i}:${j}`;
|
||||
</script>
|
@ -1,3 +1,4 @@
|
||||
<script>
|
||||
export let value = { x: true };
|
||||
export let i, j;
|
||||
export let value = { i, j };
|
||||
</script>
|
@ -1,9 +1,10 @@
|
||||
<script>
|
||||
import { onMount } from 'svelte';
|
||||
|
||||
export let i, j;
|
||||
export let value;
|
||||
|
||||
onMount(() => {
|
||||
value = { x: true };
|
||||
value = { i, j };
|
||||
});
|
||||
</script>
|
Loading…
Reference in new issue