htmx
htmx copied to clipboard
Added cleanUpElement to public API
https://github.com/bigskysoftware/htmx/issues/425
Looking at the referenced issue, maybe this should be on the extension API and the public API should have something higher level like reinit()?
As of 1.8.1, htmx.process() now will inspect a node and, if any attributes have changed, it will re-process them.
See https://github.com/bigskysoftware/htmx/commit/1dbb22b682c625c5054de7127da975f30dfbe6ea
So you can simply modify a node and call htmx.process() on it. This should fix issues with morphing, etc. and so I this think PR is obsolete.