0.0.2 • Published 3 years ago
@shish2k/hyperapp-jsx v0.0.2
hyperapp-jsx
The minimal amount of duct tape to get JSX working with hyperapp
Disclaimer - the maintainer of hyperapp recommends avoiding JSX entirely,
for various good reasons. I've created this package for personal use
because it's easier than translating a bunch of apps to @hyperapp/html
.
Usage, assuming that you have a hyperapp<=2.0.4 app which was working with JSX in the past:
npm install @shish2k/hyperapp-jsx
then replace
import { h } from "hyperapp";
with
import { h } from "@shish2k/hyperapp-jsx";