Live data from Hacker News

Hyperapp – A tiny framework for building web interfaces

hyperapp.dev

51–60 of 198 posts

Re: Hyperapp – A tiny framework for building web interfaces

#52
post #45
post #29

Earlier quoted context omitted.

Going back to PHP and ASP you mean.

With thing like GraphQL, I get a definite ColdFusion vibe, too.

We are definitely in ColdFusion territory:

https://github.com/seancoyne/awesome-coldfusion#application-...

Re: Hyperapp – A tiny framework for building web interfaces

#54

In the tutorial it says: "In this tutorial we'll stick with `h` to keep it simple and close to the metal." I'm pretty sure they put that in there just to aggravate the HN crowd.

You might find using htm with hyperapp useful: https://www.npmjs.com/package/htm

Re: Hyperapp – A tiny framework for building web interfaces

#55
I'm a big re-frame fan from the Clojurescript world so this all looks rather familiar. For me it's a great framework and worth learning Clojurescript for.

Seeing the h() function makes me realise how much I miss Hiccup syntax for HTML and your component tree, especially with editor support for parens it's a joy. But it looks nicer than JSX.

I'm going to give Hyperapp a try, I like the small size aspect especially, and familiarity of the overall architecture, my fear is that if you're going off-piste enough to avoid the React/Angular well trodden track on an app, you might as well go the whole way and use Re-frame which is very pragmatic, with JS interop it's possible to do pretty much anything you want. And whilst the type system and compiler of Elm is nice, the slightly more 'infamous' parts of restrictions to JS extensions make it more limited in the real world.

Re: Hyperapp – A tiny framework for building web interfaces

#56

Earlier quoted context omitted.

Wasn't the unwieldiness of render functions the entire reason JSX was created?

Not sure of the reason, but it's a godsend comparatively. The reaction against JSX I find to be largely by people who've never actually used it. If you keep your components small, as is best practice, whatever gut reaction one feels to it (which IMO is misplaced to begin with) is minimized, and quite readable.

[deleted]

Re: Hyperapp – A tiny framework for building web interfaces

#58

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 )

It's been like that for months - seems like the project is not seeing the activity they expected for v2. Also server-side routing is broken and that link will not work.

We are very close to the official V2 release, but right now that page is still a WIP.

The link works fine, though.

Re: Hyperapp – A tiny framework for building web interfaces

#60

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 haven't done a great job at explaining why the current Hyperapp is superior than its previous incarnation, but V2 isn't officially out yet, so I encourage you circle back to it when it is.
Post reply on HN