mirror of https://github.com/sveltejs/svelte
Merge 47e37af995 into 44a7813730
commit
c0f4f66849
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: ensure a batch exists when a boundary resolves synchronously
|
||||
@ -0,0 +1,6 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
// https://github.com/sveltejs/svelte/issues/18522
|
||||
export default test({
|
||||
html: `<h1>Hello!</h1>`
|
||||
});
|
||||
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import { flushSync } from 'svelte';
|
||||
|
||||
flushSync();
|
||||
</script>
|
||||
|
||||
<h1>Hello!</h1>
|
||||
Loading…
Reference in new issue