Live data from Hacker News

Hyperapp – A tiny framework for building web interfaces

hyperapp.dev

141–150 of 198 posts

Re: Hyperapp – A tiny framework for building web interfaces

#143
post #120

Does modern web development just completely abandon the idea of "separation of concerns"? Looks like content is freely mixed with markup and logic and results in a horrible, difficult-to-read mess of code.

There has never been any separation of concern in web development. Just because you put your scripts, HTML and CSS in different files doesn't mean they are separated.

Isn't that the definition of separated? If you want to edit content or markup, you open the HTML file. If you want to edit business logic, open PHP or JS. And so on.

Re: Hyperapp – A tiny framework for building web interfaces

#144

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 )

> but the lack of ecosystem makes it unfit for anything larger What does this mean?

Some problems are hard, common and already solved. Sometimes solving these problems yourself adds no unique value to your product. In that case, you should just use a well-reviewed external ecosystem package.

A large project will run into many of these problems. It is a waste to re-invent the wheel because a cool new framework has too few pre-made wheels.

Re: Hyperapp – A tiny framework for building web interfaces

#145

Earlier quoted context omitted.

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.

Also, if you click "join us" and then "tutorial" your scroll position is in an unexpected place.

Re: Hyperapp – A tiny framework for building web interfaces

#146

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 )

Their guide (https://hyperapp.dev/guides) page is also filled with Lorem Ipsum.

Re: Hyperapp – A tiny framework for building web interfaces

#147
If curious see also

2018 https://news.ycombinator.com/item?id=17126670

2017 https://news.ycombinator.com/item?id=15467819

2017 https://news.ycombinator.com/item?id=15264053

2017 https://news.ycombinator.com/item?id=15178535

2017 https://news.ycombinator.com/item?id=14629414

Re: Hyperapp – A tiny framework for building web interfaces

#148
post #20

Haven't been using react because of the JSX, but is this really where we are heading? https://hyperapp.dev/tutorial#rendering-to-the-dom Looks like som obfuscated JS-code..

Haha, I have spent my fair share of time procrastinating over what a type-safe JSX alternative would look like for React.

The most ergonomic solution (well, atleast for me) has been their old factory API upon which I layered a set of convenience utilities [1]. I have been trying it out in a hobby project and I find the reduction of className boilerplate, elimination of closing tags etc. quite productive. And unlike alternatives like react-pug etc. I don't have to compromise with type checking of attributes.

I'll probably release it as a library after doing some performance evaluation and if needed, wrapping it in a babel-macro [2] that eliminates the runtime overhead.

--

[1] Example in CodeSandbox: https://codesandbox.io/s/pedantic-shape-lq9q9?file=/src/reac...

Code in github gist: https://gist.github.com/lorefnon/53377e4d6a6b13adbcfa155f486...

[2] https://github.com/kentcdodds/babel-plugin-macros

Re: Hyperapp – A tiny framework for building web interfaces

#149
post #45

Earlier quoted context omitted.

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

Worth noting that ColdFusion actually did components before it was cool :-) (I don't mean ColdFusion components which are really just classes in .cfc files, but custom tags which let you write custom markup)

[deleted]

Re: Hyperapp – A tiny framework for building web interfaces

#150
post #146

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 )

Their guide ( https://hyperapp.dev/guides ) page is also filled with Lorem Ipsum.

Ouch, yes, that's also a WIP, thank you for checking in, though.
Post reply on HN