mirror of https://github.com/sveltejs/svelte
parent
e36137d161
commit
f41dad7222
@ -1,7 +1,11 @@
|
|||||||
<script>
|
<script>
|
||||||
|
$effect(() => {
|
||||||
|
console.log('before');
|
||||||
|
});
|
||||||
|
|
||||||
await 1;
|
await 1;
|
||||||
|
|
||||||
$effect(() => {
|
$effect(() => {
|
||||||
console.log('hello');
|
console.log('after');
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in new issue