Possible to combine JS loadedOnRequest with Alpine.data?
This gives undefined
foo error - which's a function that's defined inside the foo.js file.Solution
Posted too early found what I need: https://filamentphp.com/docs/3.x/support/assets#asynchronous-alpinejs-components