Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Surprised nobody has brought up htmx [0], which is very similar but the syntax is cleaner (imo of course).

[0]: https://htmx.org/



Or my personal favorite: http://vanilla-js.com/


Is this just straight javascript? I feel like I'm being conned.


It is, that’s the joke.


They do rather different things, and they can be used together.


Agreed, people are starting to call htmx, alpinejs and tailwindscss the "HAT" stack. They all play well together, and make HTML the primary medium for building your web app again, each satisfying something I am calling Locality of Behavior[1].

A more direct competitor w/ Alpine (although I view it more as a replacement for jQuery, since there is no reactive aspect to it) is https://hyperscript.org. It's a much more speculative project though, for the brave and/or slightly crazy only.

[1] - https://htmx.org/essays/locality-of-behaviour/


And the PETAL stack is

    Phoenix
    Elixir
    TailwindCSS
    Alpine.js
    LiveView
I imagine that Alpine is going to get big largely because there us so much excitement around LiveView.


Yes, we're using them both together in production and they complement each other really well




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: