import { ComponentChildren } from "preact"; import Passthrough from "../islands/Passthrough.tsx"; export interface FooProps { children?: ComponentChildren; n: number; } function Foo(props: FooProps) { return (

This is static server content: #{props.n}

This is static server content: #{props.n}

{props.children}
); } export default function PassthroughPage() { return (

Single

Nested

Island in Island

); }