Hyperapp – A tiny framework for building web interfaces
51–60 of 198 posts
Re: Hyperapp – A tiny framework for building web interfaces
#52Earlier quoted context omitted.
Going back to PHP and ASP you mean.
With thing like GraphQL, I get a definite ColdFusion vibe, too.
https://github.com/seancoyne/awesome-coldfusion#application-...
Re: Hyperapp – A tiny framework for building web interfaces
#53Just use https://preactjs.com/ and call it a day
Re: Hyperapp – A tiny framework for building web interfaces
#54In 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.
Re: Hyperapp – A tiny framework for building web interfaces
#55Seeing 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
#56Earlier 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.
Re: Hyperapp – A tiny framework for building web interfaces
#57Re: Hyperapp – A tiny framework for building web interfaces
#58I 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.
The link works fine, though.
Re: Hyperapp – A tiny framework for building web interfaces
#59Just shows a blank page without JavaScript. Does Hyperapp have any way to render out an HTML fallback if JS doesn't load?
Re: Hyperapp – A tiny framework for building web interfaces
#60I 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.