Stop being the product.
Become the owner.
or
sign uplog in

Alpine + HTMX = Helium I posted about Helium a month or so…

Alpine + HTMX = Helium

I posted about Helium a month or so ago and got some great feedback. Would love it if people could have another look or try it out and give more feedback. Since then I've added a ton of extra features (and it's still only 3kb minified and gzipped, so a lot lighter than both Alpine and HTMX):
Ajax requests similar to HTMX ... \`@get="/posts" ="#posts"\`, it supports HTML returned from the server like HTMX, but also JSON and Turbo Streams (for Rails users)
Reactive array data ... reactive updates such as list\0\] = "apples" and list.sort()
Dynamic classes based on state values \`@class="{danger: count > 10}"\`
Lots of extra modifiers for event listeners, so you can write \`@click.debounce.shift="count ++"\`
2-way bindings with form elements, so adding \`@bind=active\` to a checkbox will keep the value of active in sync with the state of the checkbox
Here's an example of the Ajax features:
[https://codepen.io/daz4126/pen/ZYQrgmb https://codepen.io/daz4126/pen/ZYQrgmb
#technology #dev #programming #js
loved
3
earnings
11,000 mlx total
$0  total
engagement
16 views
3 reactions

0 comments