You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is when we have an update before unmount. If the handler function is changed (prop updated with different function reference), socket.off is not going to remove it.
unmounting the Event component wont unsubscribe the handler for the eventname
`
function NotificationList({}) {
}
`
"react": "^16.10.2"
"react-socket-io": "^0.2.5"
The text was updated successfully, but these errors were encountered: