Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/developit/preact-in-es3

:horse: How to use Preact without Babel, ES2015 or JSX.
https://github.com/developit/preact-in-es3

babel jsx preact

Last synced: 20 days ago
JSON representation

:horse: How to use Preact without Babel, ES2015 or JSX.

Awesome Lists containing this project

README

        

# :horse: Preact in ES3: _without_ Babel, ES2015 or JSX

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

This repo contains a bare-bones example of how to use [Preact] in _JavaScript of yesterday_.

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

> [View Demo on JSFiddle](http://jsfiddle.net/developit/t4aycadw/)

[Preact]: https://github.com/preactjs/preact