Does anybody try to use htmx in magento context ? As I know it's need to connect external js lib in order to use htmx, does any conflicts appears in magento when you will use this lib ? Advantages and disadvantages ?

1 Answer 1


If you just want to sprinkle htmx to magento Luma theme, all you need is to include this external JS lib and you will instantly get the hx directives available working with your custom APIs that renders incremental document updates.

If you swap out the whole Luma stack (knockout, requirejs, ui compoments, local storage etc) with HTMX, then it will be a very challenging task (which I am thinking about) and probably requires a team, but the advantage will be obvious: faster site rendering faster development much better developer experience

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.