developit / preact-in-es3

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐴 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

About

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

License:MIT License


Languages

Language:JavaScript 88.6%Language:HTML 11.4%