import { useState } from "preact/hooks"; export default function Stateful(props: { id: string }) { const [v, set] = useState(0); return (
{v}