import { useState } from "preact/hooks"; import { ComponentChildren } from "preact"; interface PassthroughProps { children: ComponentChildren; n: number; } export default function Passthrough({ children, n }: PassthroughProps) { const [v, set] = useState(0); return (

This is an Island #{n}

{children}
); }