htmx
htmx copied to clipboard
Empty class elements left after swap
Inspecting the page after a swap, htmx leaves an empty class=“”
attribute on the target element. It’s benign, but means that the resulting page is not the same as the a page for the same server state rendered from scratch, which makes testing harder.
You can see the problem in https://youtu.be/qYuSr__OiHk at 23:15