arrow_backBACK TO DRILLS
Blue Beltstrictmode
Missing effect cleanup detection
A useEffect connects to a chat server but never disconnects in cleanup. Under <StrictMode>, the active connection count immediately becomes 2 after mount. Why?
A useEffect connects to a chat server but never disconnects in cleanup. Under <StrictMode>, the active connection count immediately becomes 2 after mount. Why?