(no title)
akoutmos | 4 years ago
For example, if I have a flag to show/hide a modal to confirm a resource delete, the show/hide flag would live in AlpineJS, while the resource I was deleting would live in the state of my LiveView.
This way, there are no round trips to the server over websocket to toggle the modal. Hopefully that example makes sense :).
cs44|4 years ago
AlchemistCamp|4 years ago
brainbag|4 years ago