'$refresh', 'liked-footer' => '$refresh']; } public function mount(Plan $plan): void { $this->plan = $plan; } public function render(): View { $this->dispatch('liked-details'); $this->dispatch('liked-footer'); return view( 'livewire.plan.like-count', [ 'count' => $this->plan->likes_count, ] ); } }