ariel-walley / dnd-app

2 stars 0 forks source link

Remove the JSON.stringify and JSON.parse from the socket.io listeners #32

Closed ariel-walley closed 2 years ago

ariel-walley commented 2 years ago

From the socket.io docs (https://socket.io/docs/v4/emitting-events/#basic-emit) I do not have to parse the JSON as socket does that automatically