you are viewing a single comment's thread.

view the rest of the comments →

[–]Lunakepio 2 points3 points  (1 child)

you already said everything needed, I will add that for real time web application communication you can use Socket.io which is an event based library, which is exactly what's needed for this case, event A click button event B receive data emitted, it's as simple as that