Htmx Alternatives

Similar projects and alternatives to htmx

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better htmx alternative or higher similarity.

Suggest an alternative to htmx

Reviews and mentions

Posts with mentions or reviews of htmx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-25.
  • I don't want Django to redirect to a new page after successfully created an object
    reddit.com/r/django | 2021-09-26
    If this kind of simple interaction is what you need, my best guess is that you should take a look at https://htmx.org or https://unpoly.com. Both are "transparent" solutions for what you'e trying to achieve. Personally I'm into HTMX.
  • Full Stack / Back End Devs. How well versed are you in front end tech?
    reddit.com/r/dotnet | 2021-09-25
    For anything new, I prefer to keep my deployments as simple as possible, so I've been sticking with just Razor Pages where I can. I've been investigating HTMX for a while now to try to achieve that SPA feel without having actually go down that rabbit hole.
  • We Got to LiveView
    news.ycombinator.com | 2021-09-22
    I have never used LiveView, but I'd love to see the web moving towards this kind of interfaces. HTML over the wire is powerful! The deep integration between all the parts (Phoenix, LiveView, the HEEx engine...) is nice, and compile-time template validation looks really cool.

    One thing that concerns me about doing everything over WebSockets, is that it seems you now need to keep a connection with every connected client, even if they are not doing any "highly interactive" actions. I think (in most cases) it would be more efficient to do a bunch of AJAX requests to receive those HTML chunks. Now that we have CDNs, HTTP/{2,3}, etc. the benefits of using WebSockets for everything seem less obvious.

    This is what HTMX[0] does by default, and then you can use WebSockets[1] if you need it. Another great thing about HTMX is that the backend can be whatever you like, as long as you can handle HTTP requests and return HTML.

    In any case, I like both approaches and I would love to see the web development ecosystem moving back to sending HTML over the wire, regardless of the framework.

    [0] https://htmx.org/

    [1] https://htmx.org/attributes/hx-ws/

    news.ycombinator.com | 2021-09-22
    I've used a similar technique with HTMX[1]. General navigation just patches the main "content" section, but pages where it's necessary to replace the entire page (e.g. login/logout) just do a full page "dumb" refresh.

    [1] https://htmx.org

    news.ycombinator.com | 2021-09-22
  • Is it possible to have just a part of Django pages use component based frontent framework?
    reddit.com/r/django | 2021-09-19
  • What's the best pattern for binding a complex web interface with actions in the server?
    reddit.com/r/flask | 2021-09-17
    Take a look at htmx (http://htmx.org).
  • Help me decide between HTMX and Turbo (Hotwired)
    reddit.com/r/django | 2021-09-16
    I've gone through the getting started guides for both https://htmx.org/ and https://turbo.hotwired.dev/ . It seems "Turbo Streams" is equivalent to HTMX and the other Turbo features are uniquely available to Turbo. Right?
  • Django Template-Driven app & vue.js
    reddit.com/r/django | 2021-09-16
    An alternative to vue.js (though what you plan is easily feasible, though you'll have to tweak the template to change vue's delimiters, as they are the same as Django's) is to use htmx.org is all your are looking for is to spread around a little bit of ajax niceness.
  • </> htmx - high power tools for html
  • What I'm Up to Now
    news.ycombinator.com | 2021-08-29
    This is a category error. REST is a novel network architecture, the most distinct aspect of which is the uniform interface.

    It is associated with CRUD apps, but the REST/hypermedia model generalizes and HTML, with a bit of help[1], can produce sophisticated UIs well beyond "CRUD".

    [1] https://htmx.org

  • Post request but staying on page
    reddit.com/r/flask | 2021-08-29
    I assume you are not very familiar with javascript since you're asking such question, and therefore can recommend htmx as an easy way to implement ajax in your project.
  • I feel like I am obsolete
    reddit.com/r/django | 2021-08-27
    I made this for you: https://htmx.org
  • Could Jinja ever become more dynamic like React?
    reddit.com/r/flask | 2021-08-26
  • Ask HN: Companies of one, what is your tech stack (2021)?
    news.ycombinator.com | 2021-08-25
    For any user action that hits the backend, I use https://htmx.org/ and just return a small HTML snippet as the API response. No point using client-side JS for that (no latency gains and makes the tech stack less homogenous).

Stats

Basic htmx repo stats
108
4,463
9.5
5 days ago

bigskysoftware/htmx is an open source project licensed under BSD 2-clause "Simplified" License which is an OSI approved license.

Embed powerful analytics inside your applications using powerful JavaScript APIs.
Bold BI is designed from the ground up to be embedded. Learn about five unique features that make our platform a favorite of the developer community and save months of development time. View live samples.
boldbi.com
Find remote JavaScript jobs at our new job board 99remotejobs.com. There are 13 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.