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