A hook works too, there is only a minor requirement of generating unique IDs. I guess a web component mentioned below would work too, and maybe cleaner?
On the topic, what is your current take: is AlpineJS still relevant? Where have you seen it still needed, if anywhere?
My current need is to track the currently focused <li>. Atm doing this with Alpine’s $data, initially storing { focus: 0; /* and more */ }, but wondering whether I can/should use, say, localStorage via LV’s hooks for that. (Probably not, since such an ephemeral UI state as ‘current focus index’ isn’t best use of localStorage.)
If you have already been on the same path, trying to do with only the LV built-ins (hooks, LV.JS module, etc.) or plain JS: did you find any area where you still needed to rely on AlpineJS or some other tool? If so, what were the particular problems were you still reached for a tool outside LV?