Live data from Hacker News

Hyperapp – A tiny framework for building web interfaces

hyperapp.dev

151–160 of 198 posts

Re: Hyperapp – A tiny framework for building web interfaces

#151
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..

htm [1], mentioned in the paragraph that you linked, is a very clever alternative, similar to jsx but in pure javascript

[1] https://github.com/developit/htm

Re: Hyperapp – A tiny framework for building web interfaces

#152

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é?

No, it's niche with a French accent

Re: Hyperapp – A tiny framework for building web interfaces

#153
post #146

Earlier quoted context omitted.

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.

The quickstart is quite clear, but I'd love to see some slightly larger examples like, how is state passed between components? How do event handlers work? The API page seems sparse as well.

But it looks like a great start

Re: Hyperapp – A tiny framework for building web interfaces

#154

Earlier quoted context omitted.

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

The quickstart is quite clear, but I'd love to see some slightly larger examples like, how is state passed between components? How do event handlers work? The API page seems sparse as well. But it looks like a great start

And you'll get it! Just check again soon as we should have the official release out there in just a few months, maybe less.

Re: Hyperapp – A tiny framework for building web interfaces

#155

Earlier quoted context omitted.

Is niché a portmanteau of niche and cliché?

No, it's niche with a French accent

Fun fact: niche is a French word that doesn't have an accent. So niché is the heavy metal ümlaut version.

Re: Hyperapp – A tiny framework for building web interfaces

#156
post #120

Earlier quoted context omitted.

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.

Yeah but then your JavaScript spews out unholy tendrils that mutate the DOM and dynamically add/remove CSS classes and style attributes. Separating HTML/CSS/JS made a lot of sense for web sites but separating by component makes more sense for web applications.

Re: Hyperapp – A tiny framework for building web interfaces

#157

Earlier quoted context omitted.

Oooh, I see. It ( https://hyperapp.dev/ecosystem ) is broken if you've never been to https://hyperapp.dev before.

Ah, gotcha gotcha. Thank you for reporting it! :)

Yeah, I got a 404 page when visiting it, too.

Re: Hyperapp – A tiny framework for building web interfaces

#160
post #29

Earlier quoted context omitted.

Going back to PHP and ASP you mean.

Text templates are the technology for web development. They are so much better than anything else that there's no comparison. There are some bad templates implementation, and some good ones. The original PHP and ASP are bad. But that doesn't mean templates are bad.

What do you consider some of the good ones?
Post reply on HN