Vincent
Vincent
Indeed, docs clarified in #2904, closing this
Hey, that sounds like a bug indeed Looking at the code, there's this part: https://github.com/bigskysoftware/htmx/blob/0f70de7c0f8da72b3667fa7aef44636e51caf94e/src/htmx.js#L4090-L4094 So I would expect it to let you do the _exact_ same request it would've...
`htmx.on` should just be a handy helper function, and is supposed to resolve to a standard `addEventListener` under the hood, that definitely sounds weird if it works while a direct...
Hey, I'm gonna shamelessly copy-paste the message I left on the [other PR](https://github.com/bigskysoftware/htmx/pull/2752), that actually doesn't apply to it but applies here! > Hey, while I perfectly understand the concern...
Hey, just fiddled with your example above and it looks like this bug was introduced in htmx 1.9.10, as it works with 1.9.9 but with 1.9.10, has the same issue...
Hey, just to inform you that until this becomes a standard that would make sense to have it in the lib's core, if you'd like to try implementing a htmx...
Hey, about this specifix example, I'm unsure what your setup is, but your cookies should be naturally sent along the SSE connection request by your browser. I don't see any...
@XChikuX the EventSource is instantiated here in the extension: https://github.com/bigskysoftware/htmx-extensions/blob/c387c0d4d8ec0e51e9a2c9337181c1b488d39fc8/src/sse/sse.js#L76-L78 I'm thinking we could fire an event right before this call, like the extension already does at [other places](https://github.com/bigskysoftware/htmx-extensions/blob/main/src/sse/sse.js#L220) using...
As you linked the v1 docs, I suppose you're using htmx v1 and not v2 here ? Looking at the code, I suppose you're using the [`response targets` extension](https://v1.htmx.org/extensions/response-targets/) too...
> Note that it seems to work without hx-on-htmx-before-swap="if (event.detail.isError) event.detail.serverResponse = '{}'" for 4XX errors. I am observing this issue with a 500 error. Is error 500 significant here?...