|
|
|
|
|
by stuartbman
1703 days ago
|
|
I can't comment on every use case, but I've recently been using htmx[1] with Django templates to provide sort-of async behaviour. For me it's the best of both worlds; I can specify my template and view as though it's a normal page load, and then use some hx- attributes to make it async. 1. https://www.mattlayman.com/blog/2021/how-to-htmx-django/ |
|
The async issue is valid — I have wanted to use server-sent events with intercooler/htmx — but the answer seems to be just to use Django Channels, or be patient and wait until the async features are actually finished.