Rails has Hotwire (which as I understand is an SPA-like integrated frontend with much reduced complexity), is there something analogous in Django? Is this what HTMX is? I really don't want to learn React or Vue..

This page summarizes the projects mentioned and recommended in the original post on /r/django

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • Alpine.js

    A rugged, minimal framework for composing JavaScript behavior in your markup.

  • A really nice compromise between all of these is Alpine.JS which is slightly harder to use than HTMX and (trigger warning) does contain Javascript, but is much more straightforward than something like React/Vue because your HTML still looks like HTML and you just sprinkle the interactive JS elements on top.

  • django-htmx-modal-form

    Django+HTMX modal form

  • I tend to use alpine and htmx together. you can handle htmx events using alpines @ shorthand to set up the handlers. It's quite nice. If you want to get more of an idea how it looks, I took Benoit Blanchon's modal and toast samples and did a version that uses tailwind and alpine.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • django-unicorn

    The magical reactive component framework for Django ✨

  • When I was exploring the space, django-unicorn looked interesting also. But HTMX got me so far, so easily, that I didn't give unicorn a fair shake.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts