I’m currently working on a fun personal project that needs lots of websocket logic, but isn’t large enough to warrant adding Redux + Sagas (or Thunks). I decided on this implementation using React’s Context API and Socket.io. (note: To use hooks, you’ll need to update package.json to use react@16.8.0 or…