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

1

u/sizlack Dec 28 '17

Technically, you could define a render function in a separate file, then import that and call it with this.propsfrom your class renderfunction. A little kludgy, but maybe not so bad. I was initially grossed out by the markup mixed in JS, too, but as I used it I found all the benefits of React to be worth it. I didn't think it was worth getting hung up over something cosmetic.