mirror of https://github.com/sveltejs/svelte
parent
9c350cfdab
commit
6651f5e236
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: generate correct SSR code for the case where `pending` is an attribute
|
@ -0,0 +1,3 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({});
|
@ -0,0 +1 @@
|
||||
<!--[--><!---->Loading...<!--]-->
|
@ -0,0 +1,8 @@
|
||||
{#snippet pending()}
|
||||
Loading...
|
||||
{/snippet}
|
||||
|
||||
<svelte:boundary pending={pending}>
|
||||
{@const data = await Promise.resolve('hello')}
|
||||
<p>{data}</p>
|
||||
</svelte:boundary>
|
Loading…
Reference in new issue