#Livewire:Navigated not getting called from JS Modules, except after I leave the page??

3 messages ยท Page 1 of 1 (latest)

small ridge
#

You could definitely get around this by using an Alpine object, and calling that, which would also be cleaner, but yeah, ask on the Livewire Discord

rough laurel
#

asking there, thank you ๐Ÿ™‚ -- the map initially used an alpine object but ran into the same problem, the element was getting initialized before the map() function being called in x-data was evaluated in the script file