/** @jsx h */ /** @jsxFrag Fragment */ import { Fragment, h, render } from "https://esm.sh/preact@10.6.4"; import { useState, useCallback } from "https://esm.sh/preact@10.6.4/hooks"; const App = () => { const [count, setCount] = useState(0); const countUp = useCallback(() => setCount(count + 1), [count]); const countDown = useCallback(() => setCount(count - 1), [count]); return (