Description
For the client to access the socket, it needs to have the same instance of the socket connection. Create an connection to (http://localhost:5001) using socket.io-client and create context around it so that it can be accessed in multiple components throughout the application. useContext and createContext may not even be needed, a simple export default module could work
Description For the client to access the socket, it needs to have the same instance of the socket connection. Create an connection to (http://localhost:5001) using socket.io-client and create context around it so that it can be accessed in multiple components throughout the application. useContext and createContext may not even be needed, a simple export default module could work
e.g.
Definition of Done