How can I render different javascript in a Livewire view based on conditions?
@if ($selectedApplication)
<script>
loadSomething($selectedApplication)
</script>
@endif
I want this to be dynamic changing the id passed to loadSomething