import { RoundedButton } from "../components/Button.tsx"; import { IconMinus, IconPlus } from "../components/Icons.tsx"; import { h, IS_BROWSER, tw, useState } from "../deps.ts"; export default function Home() { return (

Welcome to `fresh`. Try update this message in the ./pages/index.tsx file, and refresh.

{IS_BROWSER ? "Viewing browser render." : "Viewing JIT render."}

); } function Counter() { const [count, setCount] = useState(0); return

Current count: {count}

setCount(count - 1)} disabled={!IS_BROWSER} > setCount(count + 1)} disabled={!IS_BROWSER} >
; }