import { useSignal } from "@preact/signals"; import * as Icons from "../components/Icons.tsx"; import type { JSX } from "preact"; interface CounterProps { start: number; } export default function Counter(props: CounterProps) { const count = useSignal(props.start); return (
The server supplied the initial value of 3.