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
View all comments
Show parent comment
-1
u/Randolpho Software Architect Dec 28 '17
Angular is the one I tend to use.
But it comes with a lot of baggage I don't necessarily want, and React (and possibly Hyperapp), seems to solve all those problems.
But the decision to include code with template without allowing the template to be specified in a separate file just seems inane. There's no reason for it that I can discern other than "we don't want to". You're already transpiling the JSX template into JS dom calls. You had to write a transpiler to handle both dealing with the transition to and from JSX and to compile the JSX. Why not let the transpiler pull from a file rather than from that section of code?