Comment Comment by monknomo I think where htmx would differ in your example is that it would not maintain the state of the list of cars in javascript, but would instead keep that state in the html, and the server.I think the button might be something like this, I'm borrowing from their [delete row example](https://htmx.org/examples/delete-row/). `<button hx-confirm="Really delete {{item.name}}?" hx-target="closest tr" hx-swap="outerHTML swap:1s" hx-delete="<the url>">Delete this car</button>` In terms of your update example, yeah I think that's what htmx would do, just on the server, and returning rendered html. parent monknomo 3 years ago
I think the button might be something like this, I'm borrowing from their [delete row example](https://htmx.org/examples/delete-row/).
In terms of your update example, yeah I think that's what htmx would do, just on the server, and returning rendered html.