HTMX

HTMX is the buzzword as a replacement for React/Angular/Vue/Svelte in smaller projects

HTMX is a brand new (2020?) toolkit created by Carson for using traditional HTML forms to be submitted to the backend as an AJAX, without the need for writing JavaScript. It's super cool but may not as simple as it seems, atleast at the first glance esp if you're too used to writing JavaScript for form validation and what not.

With HTMX, you can continue writing traditional forms with adding some additional HTMX specific attributes that act as a catalyst to the HTMX implementation. Once the form is submitted, only the content (like a DIV section) which you specify needs to be replaced, gets replaced with the new HTML content sent back from the server. That's right, the returned content from the server is a snippet of HTML code and not JSON or XML. The HTMXized element changes the target DIV with the new HTML contnet.

In fact, one of our co-founder's blog posts on HTMX has overtaken every other blog post (amongst his blogs) in terms of daily user traffic.

There's a reddit post that says "It is hard to explain something as simple as HTMX" - and that's right - because everyone is so used to thinking in terms of JavaScript these days. Under the hood HTMX uses JavaScript, but that's not for the end developer to worry about.

There's even a new buzz word on a stack name called the GOTH stack (Go + Tailwind + HTMX) going about in reddit.