Solve turn Assignment
I have been doing some modifications to my proyect but still I can´t solve why a fetch executes twice and other times doesn’t. I am trying to figure it out but no success. I am using Socket.io and API Rest
Socket.io event handler bug
Take a note with onPull
event handler. The console.log()
is called before textHistory.push()
, but the console displays textHistory
array with one item inside it, whereas it was an empty array before.