Comment by rockyj

9 hours ago

Very impressive! Worth noting that HTMX also has a WebSocket extension - https://v1.htmx.org/extensions/web-sockets/ so one could potentially also do "live views" in more performant runtimes like JVM or Node.js

My first version of Django LiveView used HTMX. WebSocket connectivity is one aspect; there is another part of logic and architecture where it falls short.

  • Can you tell us more? Espacially, how does they both fair with auth.

    • There is native middleware in Channels. I have it documented with a brief example in the documentation, and I also mention some security measures.