0π
β
"Also, this method does not work properly because in console log it shows undefined is typingβ¦"
i assume you made a typo in your console.log, you probably meant:
this.user.first_name
Concerning your "realtime" problem, i suspect it might be because your broadcasted Event is being queued, so you might want to use the ShouldBroadcastNow instead of ShouldBroadcast
Source:stackexchange.com