mirror of https://github.com/sveltejs/svelte
fix: wrap async `children` in `$$renderer.async` (#16862)
parent
8895bd44f5
commit
87f7e97963
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
'svelte': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: wrap async `children` in `$$renderer.async`
|
@ -0,0 +1 @@
|
|||||||
|
<!--[--><!--[--><!---->1<!--]--><!----><!--]-->
|
@ -0,0 +1,4 @@
|
|||||||
|
<script>
|
||||||
|
const { children } = $props();
|
||||||
|
</script>
|
||||||
|
{@render children()}
|
@ -0,0 +1,7 @@
|
|||||||
|
<script>
|
||||||
|
import Component from "./component.svelte";
|
||||||
|
</script>
|
||||||
|
<Component>
|
||||||
|
{@const one = await 1}
|
||||||
|
{one}
|
||||||
|
</Component>
|
Loading…
Reference in new issue