Noa Aarts

Results 20 comments of Noa Aarts

would something like [hx-on](https://htmx.org/attributes/hx-on/) not solve this? you could have something like `create message` this should call `notification` with the event data when the response is received but before it's...

Hello! Happy holidays to you too. I think [hx-select](https://htmx.org/attributes/hx-select/) can be used for your usecase, it can be used to only swap in part of the response (using selectors). It...

if you use `hx-swap="delete"` you can use any endpoint with `hx-get`. This should delete the target regardless of the response. I hope that helps.

Maybe you can use [hx-include](https://htmx.org/attributes/hx-include/) like ``` Send ``` this would include the value of the input with the request, I hope this solves your problem. Happy holidays!

in the documentation of [hx-swap](https://htmx.org/attributes/hx-swap/) it says > The `hx-swap` is inherited and can be placed on a parent element This means that the "show more" button also has the...

By default it uses an exponential backoff algorithm, in the docs it also says you can use your own https://htmx.org/extensions/web-sockets/ Under the "Automatic Reconnection" header. If you make the delay...

Removing the following should keep htmx from retrying. If you download the ws.js file and host the modified version locally you can test it. https://github.com/bigskysoftware/htmx/blob/master/src%2Fext%2Fws.js#L261-L267

if you want to update an existing task, you can send the new task like `` instead of the wrapped task. It will swap the task inline.

Instead of emitting normal `beforeSwap` and `afterSwap` events the oob swaps seem to emit special events: https://github.com/bigskysoftware/htmx/blob/bedee219329117fff8d58e33678d82f7c34b08b5/src/htmx.js#L826-L835 I don't know why the `afterSwap` is emitted anyways.

The panic seems to happen due to not being able to create/open the log file. In this case due to there being a directory instead. This also explains why @AlejandroSuero...