Be sure to Be aware that the scripts are going to be run just once upon the first render with the component. If you might want to run a JavaScript functionality later on - emit the party from your ingredient and listen to it in JavaScript as explained here) https://laravel-livewire.com/docs/2.x/inline-scripts