htmx is a very different way of developing your web application. You can define a lot of behaviour inside your HTML with the new attributed added by htmx. This allows you to build an interactive website without using any JavaScript. You do need a REST API that returns HTML though.

For more information about HTMX you can read the htmx docs.

all 5 comments

sorted by: hot top controversial new old
[–] 3 points 3 years ago

Thanks for sharing. I'll have a read when I finally get back to my pc

  • source
  • [–] 3 points 3 years ago (1 child)

    Cool concept, especially with making pure HTML feel responsive, but API endpoints returning HTML is definitely impractical for large applications. I wonder if XSS is a concern by default.

  • source
  • hideshow 2 child comments
  • [–] -1 points 3 years ago

    sounds like PHP. are we gonna have another PHP situation on our hands?

  • source