'notifyNewMessage']; } public function notifyNewMessage(string $payload): void { $this->myMessages[] = $payload; $this->showNewMessageNotifycation = true; } public function render(): View { return view('livewire.chat.tracker'); } }