News for hackers. Stuff that matters.
Re:Building a Single-Page App with Htmx by jerrygenser on Monday October 07, 2024 @01:28PM (#41768498)
I was just looking into htmx the other day. Came across the following library: https://github.com/iwanalabs/django-htmx-components

It's an example using django-components. Does this satisfy your comment about component at all?

Re:Building a Single-Page App with Htmx by mordechai9000 on Monday October 07, 2024 @01:44PM (#41768728)
In that case, IIUC, state is managed on the server, and the client is only responsible for rendering views generated on the backend and returning user input via form or json. This is what htmx was really designed for, anyway.