elliott/boundary-issues
S. Elliott Johnson 11 months ago
parent 98bd5270f0
commit 32b51b286c

@ -2,6 +2,6 @@
import Test from './test.svelte';
</script>
<svelte:boundary onerror={(e) => {console.log(e.stack)}}>
<svelte:boundary onerror={(e) => {console.log('error caught root')}}>
<Test />
</svelte:boundary>

@ -14,7 +14,6 @@
{count} / {test}
</svelte:boundary>
<svelte:boundary onerror={(e) => {console.log('error caught 2')}}>
<div>Count: {count}</div>
<button onclick={() => count++}>Increment</button>

Loading…
Cancel
Save