Skip to content
/ naked-preact Public template

preact.js with hooks and ES2021, without compilers

License

Notifications You must be signed in to change notification settings

wizzard0/naked-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 7421
  • npx http-server -c-1 -p7421
  • dotnet 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.

About

preact.js with hooks and ES2021, without compilers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages