import { useState } from 'preact/hooks' import preactLogo from './assets/preact.svg' import viteLogo from '/vite.svg' import './app.css' export function App() { const [count, setCount] = useState(0) return ( <>
Edit src/app.tsx and save to test HMR
Click on the Vite and Preact logos to learn more
> ) }