-
Everything with the comment EVERYONE is the basic set up of sockets that will send and receive messages to any client connected to the backend
-
Everything with the comment EVERYONE BUT ME is the setup using broadcasts that will send messages to every client BUT the client that sent the message originally. This pattern is useful for increasing load times and user experience
-
Everything with the comment EVERYONE IN THE ROOM is the setup using rooms within the socket. This is very useful in a scenario similar to managing chat rooms in a client.
jrmccann2 / react-sockets-demo Goto Github PK
View Code? Open in Web Editor NEWThis project forked from bethtelford/react-sockets-demo
Basic example of socket setup using React with an Express Node server