socket-io: when a message is sent, how to display a message/notification to the root component / out of the chatroom?

前端 未结 0 579
渐次进展
渐次进展 2020-12-02 12:18

In my chat app when a message is emitted on a chatroom I want to display a message/toaster to the root component so that the person who is out of the chatroom will algo get

相关标签:
回答
  • 消灭零回复
提交回复
热议问题