Ah yes, of course. Haven’t really used named slots yet, just read about them a little. Makes sense.
In the end I went back to my original implementation, but took a lead the Dialog
example to encapsulate some logic and use send_update/2
— works beautifully!
I think I’ll reduce my usage of Alpine to really simple scenarios that can be done with x-show
or where simple transitions are required.
Thanks @sfusato!