Live data from Hacker News

Hyperapp – A tiny framework for building web interfaces

hyperapp.dev

31–40 of 198 posts

Re: Hyperapp – A tiny framework for building web interfaces

#31
post #29

Earlier quoted context omitted.

Mithril was doing this exact thing before React became big - it's what we're moving away from (with JSX), not where we're heading.

Going back to PHP and ASP you mean.

Hay! There is some power in being able to bang out a page with Hello

Re: Hyperapp – A tiny framework for building web interfaces

#32
post #19

I love it, but I actually stuck with version 1, which was way more intuitive for me. Just a side note, I'm not fulltime front-end, so keeping up with modern frameworks is out of my capacity. It's great for smart components to my standard multi-paged systems, but I used it even for small PWA applications.

I resisted the change to v2 for a long time. In the end I found that v2's state management is much better, so it might be worth a look for that alone.

I read about it but it just did not click as V1 did. Also I will not rewrite old code just for sake of change and I want all system to be on same framework if possible. I may actually do my own fork where only difference will be passing root state and root actions in addition to partial ones, which will fix great amount of issues I have.

Re: Hyperapp – A tiny framework for building web interfaces

#33

I have tried Hyperapp some time ago. It's usable for small apps, but the lack of ecosystem makes it unfit for anything larger -- as is usual for all niché JS frameworks. Funnily, the "ecosystem" page contains just Lorem Ipsum ( https://hyperapp.dev/ecosystem ) and the Awesome Hyperapp section for V2 is almost empty ( https://github.com/jorgebucaran/awesome-hyperapp )

Is niché a portmanteau of niche and cliché?

Re: Hyperapp – A tiny framework for building web interfaces

#34
Bit of a Hyperapp fanboy here, so bare with me.

First, I think Hyperapp can make both small and big applications, opposed to u/PufPufPuf's opinion. A lot of people have this opinion because they are more familiar with v1's wired-in actions, which can become quite unruly. In the latest version, actions are decoupled, and can be organized/extracted however you see fit.

I've made a handful of applications in both v1 and the current released Hyperapp, and they work very well. If you want to see the latest Hyperapp in action, you can check these out:

- A timer for mob programming: https://github.com/mrozbarry/mobtime

- A canvas game, using Hyperapp for dom/state: https://github.com/mrozbarry/smash

- A router for Hyperapp: https://github.com/mrozbarry/hyperapp-router

I have a handful of older youtube videos regarding v1, you can check them out here:

- Intro to Hyperapp (v1): https://youtu.be/uWIyjI8nkz0

- Hyperapp (v1) forms and localstorage: https://youtu.be/qpt6aaMxm1E

- Unit testing hyperapps (v1): https://youtu.be/5wvPUj--HaA

Note, they are outdated, but there isn't much on youtube about Hyperapp in general.

One thing to keep in mind is the naming. A lot of people talk about "Hyperapp" as the first version, and "v2" as the current version, but this is wrong. It's more like "v1" (legacy) and "Hyperapp" (current). It gets confusing, because not everyone is on the same page with that, but this the the naming Jorge (primary author/creator of Hyperapp) has mentioned several times.

Re: Hyperapp – A tiny framework for building web interfaces

#36
post #29

Earlier quoted context omitted.

Mithril was doing this exact thing before React became big - it's what we're moving away from (with JSX), not where we're heading.

Going back to PHP and ASP you mean.

*improving on PHP and ASP

Re: Hyperapp – A tiny framework for building web interfaces

#39

I've used this for building the browser extensions for my app [1]. It is simple, easy to understand and easy to reason with. However, I would recommend this only for small apps. As soon as your app's features/complexity increases, you end up writing a lot of biolerplate code that libraries like Vue or Preact already handle you for. [1] https://www.emailthis.me

I haven't used Hyper but I'm looking for something to use for a browser extension I'm making.

I'd love to hear what kind of boilerplate you had to write that Vue or Preact handle. It can be hard to see these gaps ahead of time so I'd appreciate the benefit of your experience.

Post reply on HN