How is this different from HTMX? #3732
Replies: 1 comment
-
It's more that they solve similar related problems in different ways that are better suited to a specific type of interaction. HTMX is purely about server rendering everything. It makes it easier to do requests that return html and update the DOM on the page. Alpine is client side reactivity. Meaning the client is handling it's own render changes. They can work together (and work well together, I have large clients using both together) where Alpine handles some kinds of reactivity that is impractical to pass off to the server (opening a popup for example, incrementing counters, or even working with rest apis over HTML apis), while htmx handles boosting page swaps and form submissions. They do also work together. There is an official HTMX plugin that allows you to use Alpine.morph as the Broadly, they are just different things. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
... is a question many first time visitors will ask themselves now that htmx is exploding in popularity.
Therefore I'm asking this question here, so that an answer can be found by people afraid to ask for themselves.
Is there a synergy going on?
Is there significant overlap?
Do the projects solve entierly different problems and only coincidentally in a similar way?
Beta Was this translation helpful? Give feedback.
All reactions