It is easier to read rather than to write by design and is inspired by HyperTalk, the scripting language for HyperCard. I don’t expect or recommend it to be a general replacement for JavaScript, but it can be nice for light scripting for the web.
As far as features go, besides the xtalk based syntax it has things like CSS literals and relative positional expressions that make scripting the DOM easier:
on click toggle .active on the next <div/>
probably the most interesting feature to most HN is that the runtime automatically resolves promises so script writers don’t have to:https://hyperscript.org/docs/#async
this, coupled with event-based control flow can make for some interesting scripting patterns.
Anyway, not for everyone but it is a passion project of mine and is being used in production. I’m hoping to get it to 1.0 this summer after htmx 2 stabilizes. Happy to answer questions.