HTMX is the future of web development

The pendulum has swung completely to javascript frameworks like React, VUE, Svelte because people thought you couldn't do enough with just HTML and vanilla Javascript. One person, brave enough started swimming against that current and made HTMX.

Illustration of a diverse group of developers in a brainstorming session. A European female developer stands up, pointing to a whiteboard where 'HTMX

Why should HTML be static? Why not use the power of HTML and use a library with it that makes HTML as interactive as say SPA tools like VUE. This was the idea of the creator of HTMX. During the pandemic, he started this adventure as a cross-thinker and created a library that does most of what the many frontend frameworks like VUE are made for.

Don't get me wrong. I really like VUE or Svelte and Nuxt, but I also have to admit that using them can often mean more work and a whole lot of boilerplate code. If you use a frontend framework you are usually stuck with 2 frameworks. One for the backend and one for the frontend and you have to create an intermediate piece, the API, to make those two talk to each other. Often this runs smoothly, but you really have a lot more typing (programming work) to do, which can then create bugs that need to be fixed. Since I started looking into HTMX, I see that there is a big advantage to using HTMX along with Hyperscript or Alpine.js for building applications. Although the responsiveness of a frontend framework will always be superior for very advanced interactive website I think in most cases it is not worth the extra investment.

HTMX makes developing an application and interactivity back easier and more down to earth. You can use everything from Django + that nice interactivity that frontend frameworks offer. If you are still short of HTMX then you have Hyperscript which is from the same author or Alpine.js to help you out. Of course you can apply vanilla javascript as well.

Think of it like this when using HTMX. You build your application and you sprinkle interactivity over it.

Do you also want a project with HTMX and Hyperscript?

Do you have an interesting project you want us to create with HTMX and Hyperscript. Please do not hesitate to contact us