monkjs
monkjs copied to clipboard
Hackathon/stop pressing f5
trafficstars
Using socket.io in a React app to enable real-time, bidirectional communication between the client-side React code and the server.
Technical description
- install the socket.io-client library as a dependency
- create a socket.io client instance, and use it to emit events and listen for events from the server