htmx
htmx copied to clipboard
</> htmx - high power tools for HTML
`cleanRequestClassForHistory()` calls `cloneNode(true)` which causes images to be refetched. If the cleanup is instead moved to the restore phase the additional deep clone can be omitted which is a performance...
I've been troubleshooting a strange error for most of the day. To start, here's my code: ```html Type in here. Every keystroke should send one request to the server, but...
As per this [conversation on Discord](https://discord.com/channels/725789699527933952/725789747212976259/915719226914922537), web sockets should trigger events similar to standard htmx requests. Something mirroring `htmx:afterSettle` was requested.
What I'm trying to do: When the user clicks a button, a popup should be rendered (using [Tippy.js](https://atomiks.github.io/tippyjs/)) and the ajax response should be swapped into the popup. I first...
Potentially again a very esoteric use case, but would be nice if htmx natively supported submit button form overriding attributes: formaction, formmethod. At least these I think are handled by...
Hi there! I might be confused on how the [preload extension](https://htmx.org/extensions/preload/) is supposed to work. See this screenshot of the chrome dev tools inspecting the network activity when navigating [htmx.org](https://htmx.org):...
This may be related to #664. I have a response that includes OOB elements. When the updates are made the target gets the `htmx-swapping` and `htmx-settling` classes applied as expected...
Consider this common form validation pattern: 1. I have a form that gets posted to the server. 2. If form validation occurs, just return the content with error messages+user input...
After looking at the docs, I could not find whether this is expected behaviour or not. The following is a simplified test I conducted when I noticed the issue. The...
So, I've started some experimenting with making a pagination extension. What I've got so far is really messy, but that's beside the point. Current sticking point is that `htmx.process(element)` seems...