Skip to content

Commit 886d566

Browse files
authored
add async wrapper to sandbox (#16378)
* add async wrapper to sandbox * bump pps
1 parent 9f59122 commit 886d566

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"jsdom": "25.0.1",
3737
"playwright": "^1.46.1",
3838
"prettier": "^3.2.4",
39-
"prettier-plugin-svelte": "^3.1.2",
39+
"prettier-plugin-svelte": "^3.4.0",
4040
"svelte": "workspace:^",
4141
"typescript": "^5.5.4",
4242
"typescript-eslint": "^8.24.0",

playgrounds/sandbox/Wrapper.svelte

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<script>
2+
import App from './src/App.svelte';
3+
</script>
4+
5+
<svelte:boundary>
6+
<App />
7+
8+
{#snippet pending()}{/snippet}
9+
</svelte:boundary>

playgrounds/sandbox/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<script type="module">
1414
import { mount, hydrate, unmount } from 'svelte';
15-
import App from '/src/App.svelte';
15+
import App from '/Wrapper.svelte';
1616

1717
globalThis.delayed = (v, ms = 1000) => {
1818
return new Promise((f) => {

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)