3 ms·
Sorry, forgot about this bit: > and which event stopped working It was `htmx:load`. On 1.x this fired on first page load, which I used to do a bunch of setup
by danpalmer 2y ago
Sorry, forgot about this bit:
> and which event stopped working
It was `htmx:load`. On 1.x this fired on first page load, which I used to do a bunch of setup of the other little bits of JS I needed, and which would cause that JS to re-setup whenever the page changed.
On 2.x this never fired as far as I could tell. Maybe I got something else wrong, but only downgrading to 1.x seemed to fix it immediately, I didn't investigate further.
I did wonder if there were breaking changes in 2.x, but as far as I could tell from the release notes and documentation there were not.