preact.js with hooks, without compilers
Web development should be simple.
No compilers, just ES2021 and preact+hooks. See comments in the code.
The only downside is that it won't work with file:// URLs.
Various http servers you can use:
python3 -m http.server 7421npx http-server -c-1 -p7421dotnet tool install --global dotnet-serve; dotnet serve -p7421- view on GitHub Pages
...then open http://localhost:7421/ in your browser and play with app.js/index.html etc.
Oh, and don't forget Preact Devtools. They work out of the box.