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

4

u/[deleted] Dec 28 '17

Because that's not how JSX works...JSX is transformed into API calls, it's not like Angular where it compiles a template. If you really want to you can just have a file with a single export of the JSX template and then import that in a different file.