Please Notice that your scripts will be operate just once upon the first render with the element. If you might want to run a JavaScript functionality later - emit the celebration from your ingredient and listen to it in JavaScript as explained here) https://laravel-livewire.com/docs/2.x/inline-scripts