fix: Missing error on invalid island children (#1736)

This commit is contained in:
Marvin Hagemeister
2023-09-05 15:15:48 +02:00
committed by GitHub
parent c00ae494f6
commit 7004eae7ba
7 changed files with 96 additions and 14 deletions
@@ -0,0 +1,9 @@
import { PassThrough } from "../islands/PassThrough.tsx";
export default function Page() {
return (
<div id="page">
<PassThrough>{{ foo: 123 }}</PassThrough>
</div>
);
}
@@ -0,0 +1,9 @@
import { PassThrough } from "../islands/PassThrough.tsx";
export default function Page() {
return (
<div id="page">
<PassThrough>{() => {}}</PassThrough>
</div>
);
}