Remember to Take note that your scripts is going to be operate only once upon the 1st render of the ingredient. If you have to operate a JavaScript functionality afterwards - emit the celebration with the part and listen to it in JavaScript as explained below) https://laravel-livewire.com/docs/2.x/inline-scripts