Skip to content

Instantly share code, notes, and snippets.

View fouad1998's full-sized avatar

Fouad Hachour fouad1998

View GitHub Profile
This file has been truncated, but you can view the full file.
[{"_id":{"$oid":"61579b38aa546f823759c7ce"},"visitorID":"hPITU9mIxVU3xxeX2F68tCtCIB19YlIeSq226onNJI1QitnXm5","accountID":"3mp1o","event":{"type":4.0,"data":{"href":"https://stackoverflow.com/questions/54824036/useeffect-hook-with-socket-io-state-is-not-persistent-in-socket-handlers","width":982.0,"height":624.0},"timestamp":1.633131320829e+12}},
{"_id":{"$oid":"61579b39aa546f823759c7cf"},"visitorID":"hPITU9mIxVU3xxeX2F68tCtCIB19YlIeSq226onNJI1QitnXm5","accountID":"3mp1o","event":{"data":{"source":1.0,"positions":[{"timeOffset":0.0,"x":85.0,"y":164.0,"id":4912.0}]},"timestamp":1.633131321152e+12,"type":3.0}},
{"_id":{"$oid":"61579b39aa546f823759c7d0"},"visitorID":"hPITU9mIxVU3xxeX2F68tCtCIB19YlIeSq226onNJI1QitnXm5","accountID":"3mp1o","event":{"type":2.0,"data":{"initialOffset":{"left":0.0,"top":0.0},"node":{"type":0.0,"childNodes":[{"publicId":"","systemId":"","id":2.0,"type":1.0,"name":"html"},{"type":2.0,"tagName":"html","attributes":{"itemscope":"","itemtype":"https://schema.org/QAPage","class":"html__resp
This file has been truncated, but you can view the full file.
"[{\"type\":4,\"data\":{\"href\":\"https://stackoverflow.com/questions/54824036/useeffect-hook-with-socket-io-state-is-not-persistent-in-socket-handlers\",\"width\":982,\"height\":624},\"timestamp\":1633131320829},{\"data\":{\"source\":1,\"positions\":[{\"timeOffset\":0,\"x\":85,\"y\":164,\"id\":4912}]},\"timestamp\":1633131321152,\"type\":3},{\"type\":2,\"data\":{\"initialOffset\":{\"left\":0,\"top\":0},\"node\":{\"type\":0,\"childNodes\":[{\"publicId\":\"\",\"systemId\":\"\",\"id\":2,\"type\":1,\"name\":\"html\"},{\"type\":2,\"tagName\":\"html\",\"attributes\":{\"itemscope\":\"\",\"itemtype\":\"https://schema.org/QAPage\",\"class\":\"html__responsive \"},\"childNodes\":[{\"tagName\":\"head\",\"attributes\":{},\"childNodes\":[{\"type\":3,\"textContent\":\"\\n\\n \",\"id\":5},{\"id\":6,\"type\":2,\"tagName\":\"title\",\"attributes\":{},\"childNodes\":[{\"type\":3,\"textContent\":\"reactjs - UseEffect hook with socket.io state is not persistent in socket handlers - Stack Overflow\",\"id\":7}]},{\"textCo
This file has been truncated, but you can view the full file.
[
{
"type": 4.0,
"data": {
"href": "https://stackoverflow.com/questions/54824036/useeffect-hook-with-socket-io-state-is-not-persistent-in-socket-handlers",
"width": 982.0,
"height": 624.0
},
"timestamp": 1.633131320829e12
},