Remember to Observe that the scripts will likely be run only once on the first render from the component. If you should run a JavaScript function afterwards - emit the party within the part and hear it in JavaScript as described here) https://laravel-livewire.com/docs/2.x/inline-scripts