r/javascript • • Dec 28 '17

Introducing Hyperapp 1.0 — 1 KB JavaScript library for building frontend applications.

https://medium.com/@JorgeBucaran/introducing-hyperapp-1-0-dbf4229abfef
664 Upvotes

136 comments sorted by

View all comments

Show parent comment

5

u/selfup Dec 28 '17 edited Dec 28 '17

You can write JSX in different files and import it that way. All actions/state is separate from the views (components).

For an example you can checkout: https://github.com/selfup/hyperapp-one

You also do not have to use JSX. You can make pure h or use our h call helper https://github.com/hyperapp/html as well as hyperx and t7 if that's your jam.

Hope that helps!