So what's the recommended approach for doing it without liveview in the liveview world? jquery? just document.addEventListener?
That's what hotwire gives you: an opinionated approach and a golden path to do things in a manageable way.
That's what hotwire gives you: an opinionated approach and a golden path to do things in a manageable way.
Seriously? This has to be a joke.
You don't really need to use alpine either if you use Phoenix with Liveview, you can probably get away with just using vanilla js if all you really need is some small functionality of modals popping up etc.