I'm wondering when I deleted a message or press a button for make an action, how can I notify to the others clients that event happened and delete the message or that button from them.
I know it is possible with socket.io, actually I'm using Node.js, Express, Socketio and React, but I dont know how to make this logic. I just know how to send a message to everyone and how to receive and emit any event.
I really appreciate any hint or basic code.
Thanks in advance.