News for hackers. Stuff that matters.
Re:Show HN: 1 KB JavaScript library for building applications by antoaravinth on Sunday October 15, 2017 @08:06AM (#15476805)
Thanks for the great library. I was trying to go-through the source and I have couple of questions.One, on line 135:

https://github.com/hyperapp/hyperapp/blob/master/src/app.js#...

You seems to be attaching global event handler. Looks like we can't have multiple event handlers at this time. Is this expected or it would be handled in the future?

2. Why do we use requestAnimationFrame for rendering? Do you think its going to offer best performance all the time? Note here, I'm new to requestAnimationFrame concept, so you can answer me like I'm a noob :)

Re:Show HN: 1 KB JavaScript library for building applications by bananicorn on Monday October 16, 2017 @07:50AM (#15482545)
I can answer you #2:

requestAnimationFrame schedules the rendering to when the screen refreshes, which kinda makes sense in this case. (Which is a great thing when you're doing animations or games, since no frames are being dropped) It also doesn't fire while the tab is not active, so that's a plus too.

I've nothing to do with this project though, so I might be wrong on the details.

Re:Show HN: 1 KB JavaScript library for building applications by maxpert on Sunday October 15, 2017 @01:11AM (#15475992)
I think it's awesome that you have a minimal piece of library, I hope does get the momentum it deserves (Shameless plug I recently did a hobby project http://invatar.ga/ and used moon.js on a second thought I might want to use this instead).
Re:Show HN: 1 KB JavaScript library for building applications by curtisblaine on Monday October 16, 2017 @11:21AM (#15483813)
This gets reposted every other week. Aggressive marketing team behind this project?
Re:Show HN: 1 KB JavaScript library for building applications by qilo on Monday October 16, 2017 @07:52PM (#15487610)
Re:Show HN: 1 KB JavaScript library for building applications by zaceno on Friday October 13, 2017 @02:19PM (#15468069)
v0.15.0 is a great release. Feels done. Just needs the router updated for compatibility, and were ready for 1.0 imo.
Re:Show HN: 1 KB JavaScript library for building applications by jbucaran on Friday October 13, 2017 @02:38PM (#15468208)
It's being worked right now! :)
Re:Show HN: 1 KB JavaScript library for building applications by speier on Friday October 13, 2017 @02:39PM (#15468218)
awesome library. like a breath of fresh, after all those complex frameworks. keep up the good work guys.