Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
import { useState } from 'preact/hooks' import preactLogo from './assets/preact.svg' import './app.css' export function App() { const [count, setCount] = useState(0) return ( <>
a> a> div>Vite + Preact + TypeScripth1>
setCount((count) => count + 1)}> count is {count} button>Edit
src/app.tsxcode> and save to test HMR p> div>
Click on the Vite and Preact logos to learn more p> ) }
import { useState } from 'preact/hooks' import preactLogo from './assets/preact.svg' import './app.css' export function App() { const [count, setCount] = useState(0) return ( <>
a> a> div>Vite + Preact + TypeScripth1>
setCount((count) => count + 1)}> count is {count} button>Edit
src/app.tsxcode> and save to test HMR p> div>
Click on the Vite and Preact logos to learn more p> ) }