Re:Show HN: 1kb JavaScript library for building front end ap...
by jbucaran on Sunday June 25, 2017 @01:31PM
(#14631117)
> What are the target developers for your library?
Anyone. Big app devs, small app devs. For the record, you can user hyperapp with any of the following technologies:
- JSX
- A string template literal based solution like hyperx or t7.
- The built-in hyperscript-style `h` function (https://goo.gl/da3U3P).
Re:Show HN: 1kb JavaScript library for building front end ap...
by finchisko on Sunday June 25, 2017 @02:06PM
(#14631288)
Any example on jsx? Is it react jsx or something else?
Edit: already found example in project github.
Looks promising. Currently I'm looking for solution to replace jquery for one small popup for Chrome KeePassXC extension. HyperApp seems like good match. Thanks.
I've done something slightly similar in the past:
However, for that syntax above I'm using two different tiny libraries I made while the author could combine both of them into one + virtual DOM. Great work there!Honest question as the author seems the submitter, what are the target developers for your library? It seems (to me) that virtual dom + JSX is overkill for simple websites, while the big webapps seems to want the enterprise-backed React/Angular/Ember/Etc.
[1] https://github.com/hyperapp/hyperapp/blob/master/docs/hyperx...
[2] https://github.com/hyperapp/hyperapp/blob/master/src/app.js#...
[3] https://hyperapp.glitch.me/clicks
[4] https://hyperapp.glitch.me/slider