Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/developit/preact-in-es3
- Owner: developit
- License: mit
- Created: 2016-06-01T16:36:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-04-28T18:55:52.000Z (over 2 years ago)
- Last Synced: 2024-10-05T04:09:38.342Z (about 1 month ago)
- Topics: babel, jsx, preact
- Language: JavaScript
- Size: 4.88 KB
- Stars: 48
- Watchers: 5
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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