Skip to content

developit/preact-without-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐎 Preact in (native) ES2015, without Babel or JSX

Preact doesn't require that you use any sort of build tooling or transpiler.

This repo contains a simple example of how to use Preact in any modern ES2015 JavaScript environment. This includes the current versions of Chrome, Firefox, Edge and Node.JS.

Examples are included for both "Classful" Components, and stateless pure functional components.

View Demo on JSFiddle


🐴 Supporting older browsers? Check out Preact in ES3

About

🐎 How to use Preact in (native) ES2015, without Babel or JSX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published