Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

developit/preact-without-babel

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
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

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.